Small fix

This commit is contained in:
mibi88 2023-01-08 16:40:32 +01:00
parent 2702a61839
commit fb88a41da6
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ class Scii:
def _default_intext(self):
return "> "
def _input(self):
i = input(self.get_input_text())
try: i = input(self.get_input_text())
except: i = input(self.get_input_text(self))
if len(i) > 0:
self.last_key = i[0]
return self.last_key