summaryrefslogtreecommitdiff
path: root/dedup/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'dedup/image.py')
-rw-r--r--dedup/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dedup/image.py b/dedup/image.py
index ef17989..314eb44 100644
--- a/dedup/image.py
+++ b/dedup/image.py
@@ -91,7 +91,7 @@ class GIFHash(ImageHash):
if self.content.tell() < 10: # magic + logical dimension
return False
curvalue = self.content.getvalue()
- if curvalue.startswith((b"GIF87a", "GIF89a")):
+ if curvalue.startswith((b"GIF87a", b"GIF89a")):
width, height = struct.unpack("<HH", curvalue[6:10])
if width * height > self.maxpixels:
raise ValueError("maximum image pixels exceeded")