mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove log message if not relevent
This commit is contained in:
parent
3eb1fa32f9
commit
36feef6558
@ -318,7 +318,8 @@ class PluginsRegistry:
|
|||||||
plugin.register_tasks()
|
plugin.register_tasks()
|
||||||
task_keys += plugin.get_task_names()
|
task_keys += plugin.get_task_names()
|
||||||
|
|
||||||
logger.info(f"Activated {len(task_keys)} scheduled tasks")
|
if len(task_keys) > 0:
|
||||||
|
logger.info(f"Activated {len(task_keys)} scheduled tasks")
|
||||||
|
|
||||||
# Remove any scheduled tasks which do not match
|
# Remove any scheduled tasks which do not match
|
||||||
# This stops 'old' plugin tasks from accumulating
|
# This stops 'old' plugin tasks from accumulating
|
||||||
|
Loading…
Reference in New Issue
Block a user