From 3f73419f796c1b43d7b27061c18ef7b28e6e7178 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 31 Dec 2017 21:26:17 -0500 Subject: [PATCH] Formatting --- src/utils/scraper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/scraper.py b/src/utils/scraper.py index ccb60fe..d03990a 100644 --- a/src/utils/scraper.py +++ b/src/utils/scraper.py @@ -15,6 +15,7 @@ async def get_post(url): filesize = int(image.headers['Content-Length']) if filesize > 8192 * 1024: raise exc.SizeError(size(filesize, system=alternative)) + except ValueError: raise exc.MissingArgument