This commit is contained in:
WorldTeacher
2024-07-30 10:08:41 +02:00
parent 7ea612d9ef
commit f1a33e7ea8
8 changed files with 40 additions and 9 deletions

View File

@@ -1,2 +1,13 @@
import omegaconf
config = omegaconf.OmegaConf.load("config/settings.yaml")
import sys
__version__ = "0.0.1"
__author__ = "Alexander Kirchner"
config = omegaconf.OmegaConf.load("config/settings.yaml")
# if programm launched with argument --debug, set debug to True
if "--debug" in sys.argv:
config.debug = True
if "--log" in sys.argv:
config.log_debug = True