Skip to content

Commit 7bf3c17

Browse files
committed
fix the bug as discussed on Pull request #7
1 parent 44d9a6a commit 7bf3c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exiftool/exiftool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def get_metadata(self, filename, params=None):
563563
documentation of :py:meth:`execute_json()`.
564564
"""
565565
if not params:
566-
params = None
566+
params = []
567567
return self.execute_json(filename, *params)[0]
568568

569569
# (#11)

0 commit comments

Comments
 (0)