From f3c71b021c483c6fdee5b3928ea4e63a64d583c8 Mon Sep 17 00:00:00 2001 From: a838557765 <838557765@qq.com> Date: Thu, 7 Jan 2021 15:15:46 +0800 Subject: [PATCH] Update Update main.py --- Code/Server/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Code/Server/main.py b/Code/Server/main.py index 65b111b..a3a3da5 100644 --- a/Code/Server/main.py +++ b/Code/Server/main.py @@ -122,7 +122,6 @@ if __name__ == '__main__': sys.exit(myshow.app.exec_()) else: try: - while(1): - pass + pass except KeyboardInterrupt: myshow.close()