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