Tweak error messages to use colons for clarity

This commit is contained in:
Isaiah Odhner 2023-04-19 21:34:29 -04:00
parent c659418240
commit ac10d5e500

View File

@ -56,9 +56,9 @@ def restart_program():
try: try:
os.close(handler.fd) os.close(handler.fd)
except Exception as e: 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: except Exception as e:
print("Error closing file descriptors", e) print("Error closing file descriptors:", e)
# python = sys.executable # python = sys.executable
# os.execl(python, python, *sys.argv) # os.execl(python, python, *sys.argv)