diff options
author | Micah Lee <micah@micahflee.com> | 2018-09-30 17:47:10 -0700 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2018-09-30 17:47:10 -0700 |
commit | a1f5b5964a71b2c815347bc5c88c2849e8aac675 (patch) | |
tree | ea9b779d627814ab7d716fad9d7a720a86673733 /onionshare | |
parent | c572ab996a54d41c26d3e5ce99d5b38ebc406323 (diff) | |
download | onionshare-a1f5b5964a71b2c815347bc5c88c2849e8aac675.tar.gz onionshare-a1f5b5964a71b2c815347bc5c88c2849e8aac675.zip |
Remove the useless gui=True arg getting passed intro strings._ all over the place
Diffstat (limited to 'onionshare')
-rw-r--r-- | onionshare/onion.py | 2 | ||||
-rw-r--r-- | onionshare/strings.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/onionshare/onion.py b/onionshare/onion.py index c45ae72e..cb73e976 100644 --- a/onionshare/onion.py +++ b/onionshare/onion.py @@ -247,7 +247,7 @@ class Onion(object): self.c = Controller.from_socket_file(path=self.tor_control_socket) self.c.authenticate() except Exception as e: - raise BundledTorBroken(strings._('settings_error_bundled_tor_broken', True).format(e.args[0])) + raise BundledTorBroken(strings._('settings_error_bundled_tor_broken').format(e.args[0])) while True: try: diff --git a/onionshare/strings.py b/onionshare/strings.py index edae7849..b730933d 100644 --- a/onionshare/strings.py +++ b/onionshare/strings.py @@ -51,7 +51,7 @@ def load_strings(common): strings[s] = translations[default_locale][s] -def translated(k, gui=False): +def translated(k): """ Returns a translated string. """ |