Update backend.py

This commit is contained in:
Surferlul 2020-12-05 14:00:35 +01:00
parent ccd69f417b
commit dd4d311eca

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/",