def __init__()

in server/app/lib/config.py [0:0]


    def __init__(self, yml: dict):
        assert yml, f"No storage configuration directives could be found in {CONFIG_FILE}!"
        self.queue_dir = yml["queue_dir"]
        if not os.path.isdir(self.queue_dir):
            log.log(f"Queue directory {self.queue_dir} does not exist, will attempt to create it")
            os.makedirs(self.queue_dir, exist_ok=True, mode=0o700)
        self.db_dir = yml["db_dir"]
        if not os.path.isdir(self.db_dir):
            log.log(f"Database directory {self.db_dir} does not exist, will attempt to create it")
            os.makedirs(self.db_dir, exist_ok=True, mode=0o700)