Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/pynslcd/pynslcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'pynslcd/pynslcd.py')
-rwxr-xr-xpynslcd/pynslcd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py
index 177b627..f28440e 100755
--- a/pynslcd/pynslcd.py
+++ b/pynslcd/pynslcd.py
@@ -153,7 +153,7 @@ def create_socket():
except OSError:
pass # ignore any problems
# bind to named socket
- sock.bind((config.NSLCD_SOCKET))
+ sock.bind(config.NSLCD_SOCKET)
# close the file descriptor on exit
fcntl.fcntl(sock, fcntl.F_SETFD, fcntl.FD_CLOEXEC)
# set permissions of socket so anybody can do requests