Added select/unselect all option in menu for audio buffers

This commit is contained in:
2019-12-09 12:12:25 -06:00
parent 6667b9e4cb
commit e51601a8bd
6 changed files with 23 additions and 3 deletions

View File

@@ -83,6 +83,9 @@ def add_attachment(attachment):
else:
text = attachment["wall"]["text"]
msg = _("{user}: {post}").format(user=user, post=text)
elif attachment["type"] == "article":
tpe = _("Article")
msg = "{author}: {article}".format(author=attachment["article"]["owner_name"], article=attachment["article"]["title"])
else:
print(attachment)
return [tpe, msg]