diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-06-07 09:52:57 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 06847b884ccec370013218370bf56fe427ceab1e (patch) | |
tree | 6ae89c072a1299832afd9f0a7ea457e100e6227f /alot | |
parent | 2bfd789215efba198e667f04a0f46cc6c92d40fd (diff) |
fix another unicode -> str instance
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets/globals.py | 2 |
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 |