diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-22 19:34:19 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 6c4e8c4e3919042b51c8ca95c2d219736976f2e1 (patch) | |
tree | f39f79a884fed4a3b86404d227969e915e34f6cf /alot/commands/envelope.py | |
parent | 301c471b496757676ee912888c5df2df399b48b1 (diff) |
alot/command/envelope: py3k fixes
Diffstat (limited to 'alot/commands/envelope.py')
-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) |