mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-27 23:07:14 -05:00
Make printing the settings filename as debug statement instead of print
This commit is contained in:
parent
c4f776c42a
commit
60afaaf338
@ -164,7 +164,7 @@ class Settings(object):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
open(self.filename, 'w').write(json.dumps(self._settings))
|
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):
|
def get(self, key):
|
||||||
return self._settings[key]
|
return self._settings[key]
|
||||||
|
@ -106,7 +106,6 @@
|
|||||||
"gui_settings_button_help": "Help",
|
"gui_settings_button_help": "Help",
|
||||||
"gui_settings_shutdown_timeout_checkbox": "Use auto-stop timer",
|
"gui_settings_shutdown_timeout_checkbox": "Use auto-stop timer",
|
||||||
"gui_settings_shutdown_timeout": "Stop the share at:",
|
"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_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_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 {}:{}.",
|
"settings_error_socket_port": "Can't connect to the Tor controller at {}:{}.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user