mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 06:11:37 +03:00
Tweak error messages to use colons for clarity
This commit is contained in:
parent
c659418240
commit
ac10d5e500
4
paint.py
4
paint.py
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user