From 46fd402d43758f6e4b6b7c5e9ca48460b9034688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 24 Nov 2020 18:47:20 +0100 Subject: [PATCH] fix: python 3.9 compat --- tools/make_list_unique.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_list_unique.py b/tools/make_list_unique.py index 79447be..7674f18 100755 --- a/tools/make_list_unique.py +++ b/tools/make_list_unique.py @@ -7,7 +7,7 @@ import json for p in Path('../lists/').glob('*/*.json'): with p.open() as _f: - warninglist = json.load(_f, encoding="utf-8") + warninglist = json.load(_f) warninglist['list'] = sorted(list(set(warninglist['list']))) with p.open('w') as _f: