mirror of
https://github.com/9001/copyparty.git
synced 2026-09-24 18:31:28 +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)
|
||||
arg = json.dumps(ja)
|
||||
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:"):
|
||||
zi, zs = _zmq_hook(log, verbose, src, acmd[0][4:].lower(), arg, wait, sp_ka)
|
||||
|
||||
Reference in New Issue
Block a user