mirror of
https://github.com/9001/copyparty.git
synced 2026-10-05 22:04:38 +01:00
hooks: xau: fix argv (ap, not wark)
This commit is contained in:
+1
-1
@@ -4207,7 +4207,7 @@ def _runhook(
|
|||||||
return mod.main(ja)
|
return mod.main(ja)
|
||||||
arg = json.dumps(ja)
|
arg = json.dumps(ja)
|
||||||
else:
|
else:
|
||||||
arg = txt[0] if txt else ap
|
arg = txt[0] if txt and src in ("xm", "xban") else ap
|
||||||
|
|
||||||
if acmd[0].startswith("zmq:"):
|
if acmd[0].startswith("zmq:"):
|
||||||
zi, zs = _zmq_hook(log, verbose, src, acmd[0][4:].lower(), arg, wait, sp_ka)
|
zi, zs = _zmq_hook(log, verbose, src, acmd[0][4:].lower(), arg, wait, sp_ka)
|
||||||
|
|||||||
Reference in New Issue
Block a user