tMerge pull request #1173 from kyuupichan/is_local - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 15826e18b863576bb4f5afaf00d86101030dbb45 DIR parent 102feb1dfd1fecc6dcfd2a81562fc77b4c47c454 HTML Author: ThomasV <electrumdev@gmail.com> Date: Thu, 30 Apr 2015 06:58:57 +0200 Merge pull request #1173 from kyuupichan/is_local Determine is_local not based on cwd but on existence of setup-release.py Diffstat: M electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum b/electrum t@@ -29,7 +29,7 @@ import traceback script_dir = os.path.dirname(os.path.realpath(__file__)) is_bundle = getattr(sys, 'frozen', False) -is_local = not is_bundle and script_dir == os.getcwd() +is_local = not is_bundle and os.path.exists(os.path.join(script_dir, "setup-release.py")) is_android = 'ANDROID_DATA' in os.environ if is_local or is_android: