Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit 9a5a44f

Browse files
committed
fixed traceback call when exiting program
1 parent 0434a0c commit 9a5a44f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

VAIIYA terminal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def open_terminal():
288288
elif text == 'exit':
289289
print('exiting the terminal... have a nice day!')
290290
time.sleep(0.5)
291-
exit()
291+
quit()
292292

293293
#error response
294294
else:
@@ -324,7 +324,7 @@ def CNS_EE_HAKED():
324324
time.sleep(1)
325325
print("1")
326326
time.sleep(1)
327-
exit()
327+
quit()
328328
#if the `result` has a bool of False, then it will run this part of code. and again will return to menu and exit the program.
329329
if result == False:
330330
message_dialog(
@@ -340,7 +340,7 @@ def CNS_EE_HAKED():
340340
time.sleep(1)
341341
print("1")
342342
time.sleep(1)
343-
exit()
343+
quit()
344344
#the idea above from smashel!
345345

346346
#add passwords here for the logins and name the vars respectivly.

0 commit comments

Comments
 (0)