summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-01 11:02:21 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commita9a41b54c7edb8c81d5f44f0b95373b682bc2499 (patch)
tree7d97115f5a119276241b33eb1b0f835040165c24 /alot/commands/thread.py
parent0b0164b8daeb58fa576c82722a9514dba2e4acac (diff)
py3k: remove basestring and unicode.
This probably isn't completely right, but it's a start.
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 5e014142..c8fb634c 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -689,7 +689,7 @@ class PipeCommand(Command):
:type field_key: str
"""
Command.__init__(self, **kwargs)
- if isinstance(cmd, unicode):
+ if isinstance(cmd, str):
cmd = split_commandstring(cmd)
self.cmd = cmd
self.whole_thread = all