home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f550fc7
)
On message parsing, don't collect empty-string task names.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 3 Sep 2025 12:39:51 +0000
(14:39 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 3 Sep 2025 12:39:51 +0000
(14:39 +0200)
ircplom/client.py
patch
|
blob
|
history
diff --git
a/ircplom/client.py
b/ircplom/client.py
index 3575b65f454e3f7559f87db9bcbf0aa69fcc211e..f9192628d9f3ce515365b2e03be58d2cb98de92f 100644
(file)
--- a/
ircplom/client.py
+++ b/
ircplom/client.py
@@
-735,7
+735,7
@@
class Client(ABC, ClientQueueMixin):
ex_tok, key = ((ex_tok[0], ex_tok[1])
if isinstance(ex_tok, tuple) else (ex_tok, ''))
tasks_, key = key.split(':', maxsplit=1) if key else ('', '')
- for task in
tasks_.split(',')
:
+ for task in
[t for t in tasks_.split(',') if t]
:
tasks[task] = tasks.get(task, []) + [key]
to_return[key] = param_match(ex_tok, msg_tok_fields[idx])
if to_return[key] is None: