Skip to content

Commit

Permalink
Solving #205 Encoding objects before hashing error
Browse files Browse the repository at this point in the history
Changing to byte literals
  • Loading branch information
hvitis committed Aug 19, 2020
1 parent 1d737ab commit 1c56e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photologue/models.py
Expand Up @@ -71,7 +71,7 @@ def get_storage_path(instance, filename):
PHOTOLOGUE_CACHEDIRTAG = os.path.join(PHOTOLOGUE_DIR, "photos", "cache", "CACHEDIR.TAG")
if not default_storage.exists(PHOTOLOGUE_CACHEDIRTAG):
default_storage.save(PHOTOLOGUE_CACHEDIRTAG, ContentFile(
"Signature: 8a477f597d28d172789f06886806bc55"))
b"Signature: 8a477f597d28d172789f06886806bc55"))

# Exif Orientation values
# Value 0thRow 0thColumn
Expand Down

0 comments on commit 1c56e06

Please sign in to comment.