mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-14 08:49:47 -05:00
Load default settings in CLI mode, of config is not passed in
This commit is contained in:
parent
6561d71edd
commit
bf20085c4a
@ -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…
Reference in New Issue
Block a user