mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 19:58:06 +00:00
xiu: add trailing newline
This commit is contained in:
1 parent
c92435c2d2
commit
c688bb2e46
1 file changed
+2
-2
+2
-2
@@ -4052,9 +4052,9 @@ def runihook(
|
|||||||
}
|
}
|
||||||
for x, vp, ap in zip(ups, vps, aps)
|
for x, vp, ap in zip(ups, vps, aps)
|
||||||
]
|
]
|
||||||
sp_ka["sin"] = json.dumps(ja).encode("utf-8", "replace")
|
sp_ka["sin"] = json.dumps(ja).encode("utf-8", "replace") + b"\n"
|
||||||
else:
|
else:
|
||||||
sp_ka["sin"] = b"\n".join(fsenc(x) for x in aps)
|
sp_ka["sin"] = b"\n".join(fsenc(x) for x in aps) + b"\n"
|
||||||
|
|
||||||
if acmd[0].startswith("zmq:"):
|
if acmd[0].startswith("zmq:"):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user