Skip to content

Commit dfbfd90

Browse files
authored
Merge pull request #30 from georgepittock/master
Fix typo
2 parents 9542c10 + 1bb7b90 commit dfbfd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iptcinfo3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def save_as(self, newfile, options=None):
638638
"""Saves Jpeg with IPTC data to a given file name."""
639639
with smart_open(self._fobj, 'rb') as fh:
640640
if not file_is_jpeg(fh):
641-
logger.error('Source file %s is not a Jpeg.' % self._fob)
641+
logger.error('Source file %s is not a Jpeg.' % self._fobj)
642642
return None
643643

644644
jpeg_parts = jpeg_collect_file_parts(fh)

0 commit comments

Comments
 (0)