diff --git a/dotbimpy/file.py b/dotbimpy/file.py index a8bb8ee..b6f6090 100644 --- a/dotbimpy/file.py +++ b/dotbimpy/file.py @@ -1,4 +1,5 @@ import jsonpickle +import json class File: @@ -30,7 +31,7 @@ def read(path): raise Exception("Path should end up with .bim extension") with open(path, "r") as bim_file: - json_dictionary = jsonpickle.decode(bim_file.read()) + json_dictionary = json.loads(bim_file.read()) file = File.__convert_JSON_to_file(json_dictionary) return file diff --git a/setup.py b/setup.py index 4083784..e8a0fe6 100644 --- a/setup.py +++ b/setup.py @@ -2,13 +2,13 @@ setup( name='dotbimpy', packages=['dotbimpy'], - version='0.0.2', + version='0.0.3', license='MIT', description='Python library for dotbim', author='Wojciech', author_email='w.radaczynski@gmail.com', url='https://github.com/paireks/dotbimpy', - download_url='https://github.com/paireks/dotbimpy/archive/refs/tags/v_0_0_2.tar.gz', + download_url='https://github.com/paireks/dotbimpy/archive/refs/tags/v_0_0_3.tar.gz', keywords=[], install_requires=[ 'jsonpickle',