Commit 25e4d9b5 authored by onny's avatar onny
Browse files

hardened systemd file

parent 0e3b7a8e
import json
class Config:
def __init__(self):
self.config = self.load_config()
os.makedirs(data['temp_directory'], exist_ok=True)
def load_config(self):
data = []
with open("config/config.json") as json_data:
data =json.load(json_data)
return data
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