diff options
author | Lucas Hoffmann <lucc@posteo.de> | 2019-11-04 08:00:10 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-11-06 10:54:00 +0000 |
commit | 414ca6c4b57752d139598e95e06009c55ff4543c (patch) | |
tree | a77d60aaf05f2c75224df95f7481f7328e414e7a /alot/ui.py | |
parent | bbb96525c08f0c6ee9fc93e0dd0ccb3abfd1dca8 (diff) |
Remove unicode literals syntax from python2
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -290,7 +290,7 @@ class UI: self._unlock_callback = afterwards self._locked = True - def prompt(self, prefix, text=u'', completer=None, tab=0, history=None): + def prompt(self, prefix, text='', completer=None, tab=0, history=None): """ prompt for text input. This returns a :class:`asyncio.Future`, which will have a string value @@ -669,9 +669,9 @@ class UI: info['pending_writes'] = len(self.dbman.writequeue) info['input_queue'] = ' '.join(self.input_queue) - lefttxt = righttxt = u'' + lefttxt = righttxt = '' if cb is not None: - lefttxt, righttxt = settings.get(btype + '_statusbar', (u'', u'')) + lefttxt, righttxt = settings.get(btype + '_statusbar', ('', '')) lefttxt = string_decode(lefttxt, 'UTF-8') lefttxt = lefttxt.format(**info) righttxt = string_decode(righttxt, 'UTF-8') |