human
Solve the following python programming problem given the following code:
@ bacpypes_debugging 
def OneShotFunction(fn, * args, **kwargs) : 
    class OneShotFunctionTask (OneShotDeleteTask) : 
        def process_task(self) : 
            OneShotFunction._debug ('process_task %r %s %s', fn, repr (args), repr (kwargs)) 
            fn (* args, ** kwargs) 
task = OneShotFunctionTask () 
    if (not _task_manager) : 
        _unscheduled_tasks.append (kwargs) 
else : 
        task.install_task (_task_manager.get_time ()) 
return task 

    
    

    Fix the buggy line: _unscheduled_tasks.append (kwargs)
assistant
#Here is Python code to fix the buggy line: _unscheduled_tasks.

_unscheduled_tasks.append (task)