From dd0140c5196981bed877d53344f55923749f712f Mon Sep 17 00:00:00 2001 From: EggPool Date: Tue, 12 Nov 2019 10:27:31 +0100 Subject: [PATCH] Bugfix --- options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.py b/options.py index b2c6d9f..6f9b2fb 100644 --- a/options.py +++ b/options.py @@ -121,7 +121,7 @@ def read(self): if path.isfile(file_name): try: with open(file_name) as fp: - data = json.load(file_name) + data = json.load(fp) if type(data) != dict: raise RuntimeWarning("Bad file format") self.mandatory_message = data