mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Remove custom config from GUI CLI args, because GUI users can configure OnionShare in the GUI
This commit is contained in:
parent
9f0e031c8b
commit
598db21dcd
2 changed files with 4 additions and 18 deletions
|
@ -30,17 +30,13 @@ class GuiCommon:
|
|||
MODE_RECEIVE = "receive"
|
||||
MODE_WEBSITE = "website"
|
||||
|
||||
def __init__(self, common, qtapp, local_only, config):
|
||||
def __init__(self, common, qtapp, local_only):
|
||||
self.common = common
|
||||
self.qtapp = qtapp
|
||||
self.local_only = local_only
|
||||
|
||||
# Load settings, if a custom config was passed in
|
||||
self.config = config
|
||||
if self.config:
|
||||
self.common.load_settings(self.config)
|
||||
else:
|
||||
self.common.load_settings()
|
||||
# Load settings
|
||||
self.common.load_settings()
|
||||
|
||||
# Load strings
|
||||
strings.load_strings(self.common)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue