Skip to content

Commit

Permalink
Added missing append call.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbr committed Oct 24, 2015
1 parent 57afcfa commit c0c521f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_nav/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _(cls):
name = cls.__name__
sn = name[0] + re.sub(r'([A-Z])', r'_\1', name[1:])

self._renderers((id or sn.lower(), cls, force))
self._renderers.append((id or sn.lower(), cls, force))
return cls

return _

0 comments on commit c0c521f

Please sign in to comment.