Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
EggPool committed Nov 12, 2019
1 parent e10f265 commit dd0140c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd0140c

Please sign in to comment.