diff --git a/src/main.py b/src/main.py index b6d8c27d..53e43965 100644 --- a/src/main.py +++ b/src/main.py @@ -20,8 +20,6 @@ config.parse(silent=True) # Plugins need to access the configuration if not config.arguments: # Config parse failed, show the help screen and exit config.parse() -config.initLogging() - if not os.path.isdir(config.data_dir): os.mkdir(config.data_dir) try: @@ -54,6 +52,8 @@ if config.action == "main": print("Error starting browser: %s" % err) sys.exit() +config.initLogging() + # Debug dependent configuration from Debug import DebugHook