Update backend.py

This commit is contained in:
Surferlul 2020-12-05 13:59:16 +01:00
parent 62f6b94341
commit 5d9aa251e2

View File

@ -55,7 +55,7 @@ try:
if submission.url.split("/")[-1].split(".")[-1] not in ["jpg", "jpeg", "png"]: if submission.url.split("/")[-1].split(".")[-1] not in ["jpg", "jpeg", "png"]:
print("Downoading", submission.url) print("Downoading", submission.url)
else: else:
print("Downoading", submission.url, "as", submission.url.split("\\")[-1]) print("Downoading", submission.url, "as", submission.url.split("/")[-1])
ImgurDownloader( ImgurDownloader(
submission.url, submission.url,
"./Images/", "./Images/",