From 61fc1e0cd911650d5e2c2e95576a0daed095e98b Mon Sep 17 00:00:00 2001 From: Skillet Date: Wed, 2 Aug 2023 23:25:15 -0400 Subject: [PATCH] add in backup incase of no connect --- simpleFileServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleFileServer.py b/simpleFileServer.py index 360e867..48eabd3 100644 --- a/simpleFileServer.py +++ b/simpleFileServer.py @@ -58,7 +58,7 @@ class serveRA(http.server.SimpleHTTPRequestHandler): file.close() except: print('failed to open file!', file=stderr) - print(traceback.format_exc()) + print(traceback.format_exc(), file=stderr) return