From 1bb7b902157bde59a35f57a537d025930c664d58 Mon Sep 17 00:00:00 2001 From: George Pittock <66332098+georgepittock@users.noreply.github.com> Date: Mon, 8 Feb 2021 12:53:02 +0000 Subject: [PATCH] Fix typo --- iptcinfo3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iptcinfo3.py b/iptcinfo3.py index 68feb30..197c565 100644 --- a/iptcinfo3.py +++ b/iptcinfo3.py @@ -637,7 +637,7 @@ def save_as(self, newfile, options=None): """Saves Jpeg with IPTC data to a given file name.""" with smart_open(self._fobj, 'rb') as fh: if not file_is_jpeg(fh): - logger.error('Source file %s is not a Jpeg.' % self._fob) + logger.error('Source file %s is not a Jpeg.' % self._fobj) return None jpeg_parts = jpeg_collect_file_parts(fh)