Skip to content

Commit 98090fc

Browse files
author
Richard Barran
authored
Merge pull request #211 from hvitis/patch-1
Solving #205 Encoding objects before hashing error
2 parents 1d737ab + 1c56e06 commit 98090fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

photologue/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def get_storage_path(instance, filename):
7171
PHOTOLOGUE_CACHEDIRTAG = os.path.join(PHOTOLOGUE_DIR, "photos", "cache", "CACHEDIR.TAG")
7272
if not default_storage.exists(PHOTOLOGUE_CACHEDIRTAG):
7373
default_storage.save(PHOTOLOGUE_CACHEDIRTAG, ContentFile(
74-
"Signature: 8a477f597d28d172789f06886806bc55"))
74+
b"Signature: 8a477f597d28d172789f06886806bc55"))
7575

7676
# Exif Orientation values
7777
# Value 0thRow 0thColumn

0 commit comments

Comments
 (0)