tdo not try to connect to daemon on windows (af_unix) - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 4780d8f81158f61561fe47842f2d79985bc42086
DIR parent d2097c15d9eb5ddb12a02dbe4d837b97f091f808
HTML Author: ThomasV <thomasv@gitorious>
Date: Mon, 9 Mar 2015 09:35:10 +0100
do not try to connect to daemon on windows (af_unix)
Diffstat:
M lib/daemon.py | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/lib/daemon.py b/lib/daemon.py
t@@ -60,6 +60,9 @@ def get_daemon(config, start_daemon=True):
daemon_started = True
else:
time.sleep(0.1)
+ except:
+ # do not use daemon if AF_UNIX is not available (windows)
+ return False