2to3 contrib/helpers

This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-28 03:18:28 +02:00
parent 0c58628c3b
commit cbc7ac6385

View File

@ -33,9 +33,9 @@ def goTo(path):
chdir(path)
return True
except FileNotFoundError:
print("Could not find the '{}' directory in '{}'...".format(
print(("Could not find the '{}' directory in '{}'...".format(
path, getcwd())
)
))
return False
@ -215,7 +215,7 @@ class User(object):
@staticmethod
def request(msg, prompt='--> '):
print(msg)
return input(prompt)
return eval(input(prompt))
@staticmethod
def pause(msg=False):