Commit d3a2bb9d authored by ntome's avatar ntome Committed by Romain Bignon

weboob.tools.misc: fix import input for python3

The name wasn't defined in the namespace
parent 0de61135
......@@ -110,6 +110,7 @@ def to_unicode(text):
# Get Python 3 input function in Python2, impl here because of reliance on to_unicode
if sys.version_info.major >= 3:
from builtins import input
raw_input = input # pyflakes3 is satisfied
else:
def input(prompt=''):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment