diff options
author | Micah Lee <micah@micahflee.com> | 2019-09-01 20:45:19 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-09-01 20:45:19 -0700 |
commit | bf20085c4a2f802cad86647ffe3851365e6d57ae (patch) | |
tree | 04bad7446764e12ae0cefccd211077dafd2f5e61 /onionshare | |
parent | 6561d71edde50e3df4e1e585940b9a9d0d8c9a2b (diff) | |
download | onionshare-bf20085c4a2f802cad86647ffe3851365e6d57ae.tar.gz onionshare-bf20085c4a2f802cad86647ffe3851365e6d57ae.zip |
Load default settings in CLI mode, of config is not passed in
Diffstat (limited to 'onionshare')
-rw-r--r-- | onionshare/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/onionshare/__init__.py b/onionshare/__init__.py index 7a1bf170..0003106f 100644 --- a/onionshare/__init__.py +++ b/onionshare/__init__.py @@ -109,6 +109,8 @@ def main(cwd=None): # Re-load settings, if a custom config was passed in if config: common.load_settings(config) + else: + common.load_settings() # Verbose mode? common.verbose = verbose |