Fix calling start.py to reopen browser (#2029)
* Fix calling start.py to reopen browser * Move below
This commit is contained in:
parent
891aac4713
commit
9119d72b9b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue