From 66e5f4ac04cebcbd033d0d8dc891ae021fc6e430 Mon Sep 17 00:00:00 2001 From: "Mr.nope" <78996423+mrprogrammer2938@users.noreply.github.com> Date: Tue, 3 Aug 2021 00:27:25 +0430 Subject: [PATCH] Update xctr.py --- xctr.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/xctr.py b/xctr.py index ce78c76..3d5eb35 100644 --- a/xctr.py +++ b/xctr.py @@ -215,7 +215,12 @@ def welcomeScreen(): if __name__ == "__main__": - Giris() - func.Configuration.isDirectoryExist() - Menu() - welcomeScreen() + try: + Giris() + func.Configuration.isDirectoryExist() + Menu() + welcomeScreen() + except KeyboardInterrupt: + print("\nCtrl + C") + print("\nExiting..." + sys.exit()