diff --git a/options.py b/options.py index 05623e1..360a87b 100644 --- a/options.py +++ b/options.py @@ -69,7 +69,10 @@ def load_file(self, filename): if params[0] == "int": right = int(right) elif params[0] == "dict": - right = json.loads(right) + try: + right = json.loads(right) + except: #compatibility + right = [item.strip() for item in right.split(",")] elif params[0] == "list": right = [item.strip() for item in right.split(",")] elif params[0] == "bool":