remove redundant if test

This commit is contained in:
onyx-and-iris 2023-07-04 19:52:55 +01:00
parent 7732a26c40
commit 2849b37670

View File

@ -63,8 +63,6 @@ class Parser:
def interactive_mode(parser):
while cmd := input("Please enter command (Press <Enter> to exit)\n"):
if not cmd:
break
if res := parser.parse((cmd,)):
print(res)