2022-09-30 00:33:42 +02:00
|
|
|
import json
|
|
|
|
|
2022-09-30 15:56:20 +02:00
|
|
|
|
2022-09-30 00:33:42 +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
|