Handle raw_input vs input in Python 2 and 3

This commit is contained in:
ines 2017-03-20 22:48:32 +01:00
parent adbcac6591
commit a6c0361803

View File

@ -20,6 +20,12 @@ except NameError:
basestring = str
try:
raw_input
except NameError: # Python 3
raw_input = input
LANGUAGES = {}
_data_path = pathlib.Path(__file__).parent / 'data'