Commit 884a9cfe authored by Alexander A. Maly's avatar Alexander A. Maly

Dropped encoding option for json.load

To build with Python 3.9
parent d9889aa4
......@@ -1013,7 +1013,7 @@ class Module:
:return: Kumir module object
f = open(file_name, 'r', encoding="utf-8")
data = json.load(f, encoding="utf-8")
data = json.load(f)
absolute_path = os.path.abspath(file_name)
module_dir = os.path.dirname(absolute_path)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment