changes
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user