mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
this is just an extra safety check - should not trigger
This commit is contained in:
parent
4e5015e742
commit
4663815cfa
@ -171,7 +171,7 @@ class ScheduleMixin:
|
|||||||
|
|
||||||
if Schedule.objects.filter(name=task_name).exists():
|
if Schedule.objects.filter(name=task_name).exists():
|
||||||
# Scheduled task already exists - continue!
|
# Scheduled task already exists - continue!
|
||||||
continue
|
continue # pragma: no cover
|
||||||
|
|
||||||
logger.info(f"Adding scheduled task '{task_name}'")
|
logger.info(f"Adding scheduled task '{task_name}'")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user