commit 4780d8f81158f61561fe47842f2d79985bc42086 parent d2097c15d9eb5ddb12a02dbe4d837b97f091f808 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(-)
diff --git a/lib/daemon.py b/lib/daemon.py @@ -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