mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-30 18:09:01 -04:00
Load default settings in CLI mode, of config is not passed in
This commit is contained in:
parent
6561d71edd
commit
bf20085c4a
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