Change except to finally
This commit is contained in:
parent
f7be492d4a
commit
7608be0597
@ -104,7 +104,7 @@ def main():
|
||||
|
||||
try:
|
||||
iterate_pages()
|
||||
except:
|
||||
finally:
|
||||
with open(BLACKLIST, mode="w") as f:
|
||||
f.writelines(blacklist)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user