diff --git a/ja-accents/ja-accent-add.py b/ja-accents/ja-accent-add.py index ccf57b5..70cadf4 100644 --- a/ja-accents/ja-accent-add.py +++ b/ja-accents/ja-accent-add.py @@ -104,7 +104,7 @@ def main(): try: iterate_pages() - except: + finally: with open(BLACKLIST, mode="w") as f: f.writelines(blacklist)