mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-14 05:31:25 -05:00
Make printing the settings filename as debug statement instead of print
This commit is contained in:
parent
8d44c0f729
commit
30b14712e9
@ -164,7 +164,7 @@ class Settings(object):
|
||||
except:
|
||||
pass
|
||||
open(self.filename, 'w').write(json.dumps(self._settings))
|
||||
print(strings._('settings_saved').format(self.filename))
|
||||
self.common.log('Settings', 'save', 'Settings saved in {}'.format(self.filename))
|
||||
|
||||
def get(self, key):
|
||||
return self._settings[key]
|
||||
|
@ -106,7 +106,6 @@
|
||||
"gui_settings_button_help": "Help",
|
||||
"gui_settings_shutdown_timeout_checkbox": "Use auto-stop timer",
|
||||
"gui_settings_shutdown_timeout": "Stop the share at:",
|
||||
"settings_saved": "Settings saved in {}",
|
||||
"settings_error_unknown": "Can't connect to Tor controller because your settings don't make sense.",
|
||||
"settings_error_automatic": "Could not connect to the Tor controller. Is Tor Browser (available from torproject.org) running in the background?",
|
||||
"settings_error_socket_port": "Can't connect to the Tor controller at {}:{}.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user