mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-07 22:02:35 -04:00
Load default settings in CLI mode, of config is not passed in
This commit is contained in:
parent
fdb94eba0c
commit
9604ee3881
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ def main(cwd=None):
|
||||||
# Re-load settings, if a custom config was passed in
|
# Re-load settings, if a custom config was passed in
|
||||||
if config:
|
if config:
|
||||||
common.load_settings(config)
|
common.load_settings(config)
|
||||||
|
else:
|
||||||
|
common.load_settings()
|
||||||
|
|
||||||
# Verbose mode?
|
# Verbose mode?
|
||||||
common.verbose = verbose
|
common.verbose = verbose
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue