Nice catch @s0undt3ch

This commit is contained in:
Thomas S Hatch 2012-08-25 11:01:19 -06:00
parent dc674dc3ab
commit 174737dacb

View File

@ -204,7 +204,8 @@ def single(fun, name, test=None, **kwargs):
return 'Invalid function passed'
kwargs.update({'state': comps[0],
'fun': comps[1],
'__id__': kwargs['name']})
'__id__': name,
'name': name})
opts = copy.copy(__opts__)
if not test is None:
opts['test'] = test