From 6f95075f0ab5c2ea974ee61b58677c53959658f7 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 10 Jun 2016 17:29:22 -0700 Subject: [PATCH] The path of the install scripts has changed, so the import path must change too if running locally --- install/scripts/onionshare | 2 +- install/scripts/onionshare-gui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/scripts/onionshare b/install/scripts/onionshare index 4d806f34..ed863e4f 100755 --- a/install/scripts/onionshare +++ b/install/scripts/onionshare @@ -23,7 +23,7 @@ import sys, os try: import onionshare except ImportError: - sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/..')) + sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..')) import onionshare onionshare.main() diff --git a/install/scripts/onionshare-gui b/install/scripts/onionshare-gui index 86dcf728..24a6f12b 100755 --- a/install/scripts/onionshare-gui +++ b/install/scripts/onionshare-gui @@ -23,7 +23,7 @@ import sys, os try: import onionshare_gui except ImportError: - sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/..')) + sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..')) import onionshare_gui onionshare_gui.main()