diff options
Diffstat (limited to 'alot/commands')
-rw-r--r-- | alot/commands/envelope.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py index 26a80050..07562e89 100644 --- a/alot/commands/envelope.py +++ b/alot/commands/envelope.py @@ -625,13 +625,13 @@ class TagCommand(Command): def __init__(self, tags=u'', action='add', **kwargs): """ :param tags: comma separated list of tagstrings to set - :type tags: unicode + :type tags: str :param action: adds tags if 'add', removes them if 'remove', adds tags and removes all other if 'set' or toggle individually if 'toggle' :type action: str """ - assert isinstance(tags, unicode), 'tags should be a unicode string' + assert isinstance(tags, str), 'tags should be a unicode string' self.tagsstring = tags self.action = action Command.__init__(self, **kwargs) |