From fb0b24fd059a60033fa1a616a5aba7e915fe0254 Mon Sep 17 00:00:00 2001 From: probonopd Date: Mon, 7 Aug 2017 07:21:54 +0200 Subject: [PATCH] Update worker.py --- code/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/worker.py b/code/worker.py index c9d969c0..387204af 100644 --- a/code/worker.py +++ b/code/worker.py @@ -13,7 +13,7 @@ def main() -> None: print(url) if not url.startswith("http"): print("%s seems not to contain an URL, exiting" % (sys.argv[1])) - exit(1) + exit(1) req = requests.get(url, stream=True) print("Status %s" % (r.status_code))