Skip to content

Commit

Permalink
Use correct JPEG header in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwilsdon committed Nov 3, 2024
1 parent 4c22c1b commit 5a3cace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beets/test/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ def run(self, *args, **kwargs):
super().run(*args, **kwargs)

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

Expand Down

0 comments on commit 5a3cace

Please sign in to comment.