From 7608be059760a307d7c0262e5b0b6fba1445b684 Mon Sep 17 00:00:00 2001 From: Spooghetti420 Date: Mon, 10 Jul 2023 21:38:16 +0100 Subject: [PATCH] Change except to finally --- ja-accents/ja-accent-add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)