Petr Sturc
Petr Sturc
Hi, same error here: ``` File "annotate.py", line 33, in update_iptc info.save() File "c:\Users\psturc\Downloads\gallery-dl\venv\lib\site-packages\iptcinfo3.py", line 627, in save return self.save_as(self._filename, options) File "c:\Users\psturc\Downloads\gallery-dl\venv\lib\site-packages\iptcinfo3.py", line 636, in save_as jpeg_parts = jpeg_collect_file_parts(fh)...
@jamesacampbell - the problem appears only when you call `info.save()`. try following: ``` import iptcinfo3 info = iptcinfo3.IPTCInfo('test.jpg') print(info) info['headline']=['My headline'] info.save() ``` I did investigate further. It looks like...
> the storage service could modify the file path, eg. {year}/{timestamp}_{filename} fair enough. Thanks.