Skip to content

Commit 5a3cace

Browse files
committed
Use correct JPEG header in tests
1 parent 4c22c1b commit 5a3cace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beets/test/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def run(self, *args, **kwargs):
992992
super().run(*args, **kwargs)
993993

994994
IMAGEHEADER = {
995-
"image/jpeg": b"\x00" * 6 + b"JFIF",
995+
"image/jpeg": b"\xff\xd8\xff" + b"\x00" * 3 + b"JFIF",
996996
"image/png": b"\211PNG\r\n\032\n",
997997
}
998998

0 commit comments

Comments
 (0)