From dd4d311eca03032552174ad85bd524ad0e24e1e7 Mon Sep 17 00:00:00 2001 From: Surferlul Date: Sat, 5 Dec 2020 14:00:35 +0100 Subject: [PATCH] Update backend.py --- backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.py b/backend.py index 8a1e221..93c9725 100644 --- a/backend.py +++ b/backend.py @@ -55,7 +55,7 @@ try: if submission.url.split("/")[-1].split(".")[-1] not in ["jpg", "jpeg", "png"]: print("Downoading", submission.url) else: - print("Downoading", submission.url, "as", submission.url.split("\\")[-1]) + print("Downoading", submission.url, "as", submission.url.split("/")[-1]) ImgurDownloader( submission.url, "./Images/", @@ -106,4 +106,4 @@ try: except NoImage: print("Error: Url doesn't point to an Image") except Exception as E: - print("Error: " + type(E).__name__) + print("Error: " + type(E).__name__) \ No newline at end of file