Make printing the settings filename as debug statement instead of print

This commit is contained in:
Micah Lee 2018-09-30 17:18:56 -07:00
parent c4f776c42a
commit 60afaaf338
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 1 additions and 2 deletions

View File

@ -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]

View File

@ -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 {}:{}.",