Skip to content

Commit

Permalink
Wrapped functions are going into the vPoller Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Jan 27, 2015
1 parent 43e0295 commit 81769f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vpoller/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ def wrapper(*args, **kwargs):
result = {'success': 1, 'msg': e.message}
finally:
return result
registry.register(name=name, fn=fn, required=required)
registry.register(name=name, fn=wrapper, required=required)
return wrapper
return decorator

0 comments on commit 81769f6

Please sign in to comment.