copy tags returned by listeners instead of mutating them in place
This commit is contained in:
parent
75107ff04d
commit
3c52d5d49d
1 changed files with 1 additions and 1 deletions
2
nwcp.py
2
nwcp.py
|
|
@ -356,7 +356,7 @@ class NWCServiceProvider:
|
||||||
res: dict = {
|
res: dict = {
|
||||||
"kind": 23195,
|
"kind": 23195,
|
||||||
"created_at": int(time.time()),
|
"created_at": int(time.time()),
|
||||||
"tags": out.get("tags", []),
|
"tags": list(out.get("tags", [])),
|
||||||
"content": self._json_dumps(content),
|
"content": self._json_dumps(content),
|
||||||
}
|
}
|
||||||
# Reference request
|
# Reference request
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue