Skip to content

Commit

Permalink
Fix error in insert emoticon, reported to @Christianlm by italian user
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Dec 13, 2019
1 parent 899c285 commit 1d3ba5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/globalPlugins/emoticons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class EmoticonFilter(object):
def filter(self, emoticonsList, pattern):
"""Filters the input list with the specified pattern."""
if pattern == "": return emoticonsList
else: return filter(lambda emoticon: pattern.upper() in emoticon.name.upper(), emoticonsList)
else: return list(filter(lambda emoticon: pattern.upper() in emoticon.name.upper(), emoticonsList))

class FilterStandard(EmoticonFilter):
"""Filter just for standard emoticons."""
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description" : _("Enables the announcement of emoticon names instead of the character Representation."),
# version
"addon_version" : "12.0-dev",
"addon_version" : "12.1-dev",
# Author(s)
"addon_author" : u"Chris Leo <[email protected]>, Noelia Ruiz Martínez <[email protected]>, Mesar Hameed <[email protected]>, Francisco Javier Estrada Martínez <[email protected]>",
# URL for the add-on documentation support
Expand Down

0 comments on commit 1d3ba5d

Please sign in to comment.