diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-01 11:04:33 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-01 11:04:33 -0800 |
commit | 790fe245e34a249442dce9f166c1f9fd19ff41c7 (patch) | |
tree | e32569defaa4e21e5fd6bf92289c14a025aa7249 | |
parent | 74edae02a48b07c2016dcd2174e141b2b8d0d581 (diff) | |
download | onionshare-790fe245e34a249442dce9f166c1f9fd19ff41c7.tar.gz onionshare-790fe245e34a249442dce9f166c1f9fd19ff41c7.zip |
Missing import
-rw-r--r-- | desktop/src/onionshare/gui_common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/src/onionshare/gui_common.py b/desktop/src/onionshare/gui_common.py index 56e86067..cf005e6a 100644 --- a/desktop/src/onionshare/gui_common.py +++ b/desktop/src/onionshare/gui_common.py @@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. import os import inspect +import shutil from . import strings from onionshare_cli.onion import Onion @@ -328,7 +329,7 @@ class GuiCommon: font-style: italic; }""", } - + def get_tor_paths(self): if self.common.platform == "Linux": tor_path = shutil.which("tor") |