mirror of
https://github.com/KevinMidboe/escape-snapchat.git
synced 2025-10-29 01:20:20 +00:00
Seems like source data structure is updated, changed to handle new Media Type value
This commit is contained in:
@@ -19,7 +19,7 @@ def get_datetime(memory_date):
|
||||
|
||||
def get_ext(memory_media_type):
|
||||
ext = "mp4"
|
||||
if memory["Media Type"] == "PHOTO":
|
||||
if memory["Media Type"] == "Image" or memory["Media Type"] == "PHOTO":
|
||||
ext = "jpg"
|
||||
return ext
|
||||
|
||||
|
||||
Reference in New Issue
Block a user