jp (pubsub): fixed arguments returned when item has no payload
This commit is contained in:
parent
205bd5cdb4
commit
e1abce602f
1 changed files with 1 additions and 1 deletions
|
|
@ -911,7 +911,7 @@ class Edit(base.CommandBase, common.BaseEdit):
|
|||
payload = item_elt[0]
|
||||
except IndexError:
|
||||
self.disp(_("Item has not payload"), 1)
|
||||
return ""
|
||||
return "", item_id
|
||||
return etree.tostring(payload, encoding="unicode", pretty_print=True), item_id
|
||||
|
||||
async def start(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue