Fixed a bug where repeated images (ie stickers) would cancel the message export due to a None content_type.
This commit is contained in:
parent
6f94a00714
commit
3971934dbc
1 changed files with 9 additions and 9 deletions
|
|
@ -631,7 +631,7 @@ class DiscordExporter:
|
||||||
"filename": filename,
|
"filename": filename,
|
||||||
"size": existing["size"],
|
"size": existing["size"],
|
||||||
"url": str(url),
|
"url": str(url),
|
||||||
"content_type": existing["content_type"],
|
"content_type": existing["mime_type"],
|
||||||
"local_hash": existing["hash"]
|
"local_hash": existing["hash"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue