tMerge pull request #782 from wozz/daemon-fix - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7e8644ef151c78dad9a45099d590a010904edcf1 DIR parent f1efa2f82c0ac617df09782018748172c541de4f HTML Author: wozz <wozz@users.noreply.github.com> Date: Wed, 30 Jul 2014 16:44:45 -0400 Merge pull request #782 from wozz/daemon-fix Fix issue with daemon socket on OS X Diffstat: M lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -42,11 +42,11 @@ def do_start_daemon(config): def get_daemon(config, start_daemon=True): import socket - s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) daemon_port = config.get('daemon_port', DAEMON_PORT) daemon_started = False while True: try: + s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('', daemon_port)) return s except socket.error: