Changed condition to use DEBUG as a boolean (#4112)

Changed condition to use DEBUG as a boolean
This commit is contained in:
Hugo van Kemenade 2019-10-03 15:38:46 +03:00 committed by GitHub
commit d479572158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -854,7 +854,7 @@ class ImageFileDirectory_v2(MutableMapping):
# pass 2: write entries to file
for tag, typ, count, value, data in entries:
if DEBUG > 1:
if DEBUG:
print(tag, typ, count, repr(value), repr(data))
result += self._pack("HHL4s", tag, typ, count, value)