mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-25 22:29:26 +00:00
Correct indent. Use signum is not None instead of type(signum) != type(None)
This commit is contained in:
@@ -1090,7 +1090,7 @@ def start():
|
||||
started = True
|
||||
|
||||
def sig_handler(signum=None, frame=None):
|
||||
if type(signum) != type(None):
|
||||
if signum is not None:
|
||||
logger.info("Signal %i caught, saving and exiting...", signum)
|
||||
shutdown()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user