aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/per-site-settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/per-site-settings.py b/examples/data/scripts/per-site-settings.py
index 89df4e6..eb9dae7 100755
--- a/examples/data/scripts/per-site-settings.py
+++ b/examples/data/scripts/per-site-settings.py
@@ -93,7 +93,7 @@ def write_to_socket(commands, sockpath):
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.connect(sockpath)
for command in commands:
- sock.send(command)
+ sock.send('%s\n' % command)
sock.close()