allow exit keyword to be entered case-insensitive
This commit is contained in:
parent
92b7be3160
commit
b095913334
|
@ -96,6 +96,6 @@ if __name__ == '__main__':
|
||||||
except (KeyboardInterrupt, EOFError):
|
except (KeyboardInterrupt, EOFError):
|
||||||
text = 'exit'
|
text = 'exit'
|
||||||
print(text)
|
print(text)
|
||||||
if text == 'exit':
|
if text.lower() == 'exit':
|
||||||
break
|
break
|
||||||
comment(text)
|
comment(text)
|
||||||
|
|
Loading…
Reference in New Issue