From 1d9da433dcd7dfa9066cbaae66c6580f44f4b8d9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 31 Oct 2023 22:03:27 +0300 Subject: [PATCH] Fix(Storage/bkmk_stjson.py): open file in text mode --- Storage/bkmk_stjson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Storage/bkmk_stjson.py b/Storage/bkmk_stjson.py index 5022dfa..a748f0e 100644 --- a/Storage/bkmk_stjson.py +++ b/Storage/bkmk_stjson.py @@ -97,7 +97,7 @@ class storage_json(Walker): del self.dict def load(self): - infile = open(self.filename, 'rb') + infile = open(self.filename, 'rt') bkmk_s = infile.read() infile.close() -- 2.39.5