mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-11-21 17:47:09 +00:00
Bug fix: process next URL skip failing ones even if not in verbose
This commit is contained in:
parent
7d9f1ca0b8
commit
80049f8f30
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue