mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix: wrap args in quotes
This commit is contained in:
parent
934de1f772
commit
519a1009ab
@ -203,7 +203,7 @@ class ScheduleMixin:
|
||||
Schedule.objects.create(
|
||||
name=task_name,
|
||||
func='plugin.registry.registry.call_plugin_function',
|
||||
args=f'{slug}, {func_name}',
|
||||
args=f"'{slug}', '{func_name}'",
|
||||
schedule_type=task['schedule'],
|
||||
minutes=task.get('minutes', None),
|
||||
repeats=task.get('repeats', -1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user