Update scheduler.py

This commit is contained in:
Kelly
2026-02-26 14:43:55 -08:00
parent 17fa03ff9d
commit 98b5f4fb7f
+2 -1
View File
@@ -29,7 +29,8 @@ def safe_int(val, default=0, type=''):
try:
return int(val)
except (ValueError, TypeError):
logger.debug(f"System: Scheduler config {type} error '{val}' to int, using default {default}")
if val != '':
logger.debug(f"System: Scheduler config {type} error '{val}' to int, using default {default}")
return default
def extract_schedule_fields(jobs):