From ac10d5e50092800f7dbc68019fe8257b9107a169 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Wed, 19 Apr 2023 21:34:29 -0400 Subject: [PATCH] Tweak error messages to use colons for clarity --- paint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paint.py b/paint.py index df97562..d1b57c2 100644 --- a/paint.py +++ b/paint.py @@ -56,9 +56,9 @@ def restart_program(): try: os.close(handler.fd) except Exception as e: - print("Error closing file descriptor", handler.fd, e) + print(f"Error closing file descriptor ({handler.fd}):", e) except Exception as e: - print("Error closing file descriptors", e) + print("Error closing file descriptors:", e) # python = sys.executable # os.execl(python, python, *sys.argv)