mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 19:04:06 +02:00
12 lines
291 B
Python
12 lines
291 B
Python
import json, os
|
|
from pathlib import Path
|
|
from . import *
|
|
|
|
class Software:
|
|
def __init__(self):
|
|
js_fn = f"{ROOT_DIR}/config/software.json"
|
|
with open(js_fn) as json_data:
|
|
json = json.load(json_data)
|
|
json_data.close()
|
|
self.user = json["user"]
|