1. Thorsten Weimann
  2. python-specbar

Commits

Thorsten Weimann  committed 6e669c0

Added return statement in decorator.

  • Participants
  • Parent commits 33b9596
  • Branches default

Comments (0)

Files changed (1)

File specbar.py

View file
  • Ignore whitespace
 def info_collector(*args, **kwargs):
     def wrapped(f):
         actions.append(partial(f, *args, **kwargs))
+        return f
 
 
 def register(func, *args, **kwargs):