Add the variables back instead of the "_" so it doesn't create an error
This commit is contained in:
parent
62ab9944cc
commit
f0d0dac914
|
@ -42,7 +42,7 @@ reloading = False
|
|||
logger = setup_logger("Scheduler", getenv("LOG_LEVEL", "INFO"))
|
||||
|
||||
|
||||
def handle_stop(_, _):
|
||||
def handle_stop(signum, frame):
|
||||
global run, scheduler
|
||||
run = False
|
||||
if scheduler is not None:
|
||||
|
|
Loading…
Reference in New Issue