From: will Date: Mon, 19 Aug 2024 16:55:54 +0000 (+0100) Subject: Minor bugfix X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=0f1e6ac949a09d190c5372e3581cfe526f92c6e2;p=doomsday-clock Minor bugfix Fixed while True Keyboard Interupt minor bug --- diff --git a/clock.py b/clock.py index a7a1ea8..bf47617 100755 --- a/clock.py +++ b/clock.py @@ -164,7 +164,7 @@ if __name__ == "__main__": while True: pass httpd = HTTPServer(('localhost', 8000), SimpleHTTPRequestHandler) httpd.serve_forever() - except: + except KeyboardInterrupt: try: sys.exit() except SystemExit: