From bf20085c4a2f802cad86647ffe3851365e6d57ae Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 1 Sep 2019 20:45:19 -0700 Subject: [PATCH] Load default settings in CLI mode, of config is not passed in --- onionshare/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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