libinstaller/lib/io.py

9 lines
182 B
Python
Raw Normal View History

import json
2022-09-30 15:56:20 +02:00
# load library data from json file
def load_lib_data(lib_path):
with open (lib_path, 'r') as config_file:
data = json.load(config_file)
2022-09-30 15:56:20 +02:00
return data