We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bb650 commit bc58eaaCopy full SHA for bc58eaa
bpython/urwid.py
@@ -169,7 +169,7 @@ def decoding_input_filter(keys, raw):
169
encoding = locale.getpreferredencoding()
170
converted_keys = list()
171
for key in keys:
172
- if isinstance(keys, basestring):
+ if isinstance(key, basestring):
173
converted_keys.append(key.decode(encoding))
174
else:
175
converted_keys.append(key)
0 commit comments