Make Black Formatter happy?
parent
55a2f209fd
commit
f48511f54a
|
@ -1,10 +1,13 @@
|
|||
# Daemon to run processes in the background
|
||||
import time
|
||||
import sys, signal
|
||||
|
||||
|
||||
def signal_handler(signal, frame):
|
||||
print("\nprogram exiting gracefully")
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
signal.signal(signal.SIGINT, signal_handler)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue