mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Fix: wrap args in quotes
This commit is contained in:
		@@ -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),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user