From 80049f8f30adbb2599e0715edae31f6af3828ba6 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 11 Jan 2015 18:05:00 +0100 Subject: [PATCH] Bug fix: process next URL skip failing ones even if not in verbose --- bin/grabcrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/grabcrl.py b/bin/grabcrl.py index e7152a5..4b5d5b9 100644 --- a/bin/grabcrl.py +++ b/bin/grabcrl.py @@ -45,7 +45,7 @@ for url in fileinput.input(args.r): except Exception, err: if args.v: print err - continue + continue if r.status_code >= 200 and r.status_code <= 299: with open (os.path.join(storepath,hurl), 'w') as f: f.write(r.content)