Browse Source

do not try to connect to daemon on windows (af_unix)

283
ThomasV 10 years ago
parent
commit
4780d8f811
  1. 3
      lib/daemon.py

3
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

Loading…
Cancel
Save