mirror of
https://github.com/KevinMidboe/escape-snapchat.git
synced 2026-01-17 22:56:15 +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):
|
def get_ext(memory_media_type):
|
||||||
ext = "mp4"
|
ext = "mp4"
|
||||||
if memory["Media Type"] == "PHOTO":
|
if memory["Media Type"] == "Image" or memory["Media Type"] == "PHOTO":
|
||||||
ext = "jpg"
|
ext = "jpg"
|
||||||
return ext
|
return ext
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user