From 2487ac021490c170ab01ed4251b18e690f058c80 Mon Sep 17 00:00:00 2001 From: nebula Date: Sat, 26 Apr 2025 21:10:58 +0000 Subject: [PATCH] write an empty file for filter blocks --- bink.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bink.py b/bink.py index cbfec94..f64d531 100755 --- a/bink.py +++ b/bink.py @@ -27,7 +27,8 @@ try: with open(filters_path, "r") as f: filters = json.load(f) except FileNotFoundError: - pass + with open(filters_path, "w") as f: + json.dump(filters, f) try: editor = os.environ["EDITOR"]