summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-07 09:52:57 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit06847b884ccec370013218370bf56fe427ceab1e (patch)
tree6ae89c072a1299832afd9f0a7ea457e100e6227f /alot
parent2bfd789215efba198e667f04a0f46cc6c92d40fd (diff)
fix another unicode -> str instance
Diffstat (limited to 'alot')
-rw-r--r--alot/widgets/globals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py
index b6e662b2..1009ad0a 100644
--- a/alot/widgets/globals.py
+++ b/alot/widgets/globals.py
@@ -130,7 +130,7 @@ class CompleteEdit(urwid.Edit):
self.historypos = None
self.focus_in_clist = 0
- if not isinstance(edit_text, unicode):
+ if not isinstance(edit_text, str):
edit_text = string_decode(edit_text)
self.start_completion_pos = len(edit_text)
self.completions = None