fixed EOFERROR

dev
Bill 2 years ago
parent 43cbe27cbb
commit c8d7e3215d

@ -334,7 +334,10 @@ def prompt(running = lambda:True, next = lambda:input('> '), state = None):
state.init() state.init()
while state.get_ready(): while state.get_ready():
time.sleep(.00001) time.sleep(.00001)
og_q : str = next() try:
og_q : str = next()
except EOFError:
continue
q = og_q.lower().strip() q = og_q.lower().strip()
if False and q == 'exec': # generate build and run (AQuery Engine) if False and q == 'exec': # generate build and run (AQuery Engine)
state.cfg.backend_type = Backend_Type.BACKEND_AQuery.value state.cfg.backend_type = Backend_Type.BACKEND_AQuery.value

Loading…
Cancel
Save