Navigation Menu

Skip to content

Commit

Permalink
Remove adding $ to front of custom functions
Browse files Browse the repository at this point in the history
Fixes calling no argument functions
  • Loading branch information
NathanW2 committed May 27, 2015
1 parent 06ab478 commit e6403da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/core/__init__.py
Expand Up @@ -52,8 +52,6 @@ def func(self, values, feature, parent):
helptext = function.__doc__ or ''
helptext = helptext.strip()
expandargs = False
if arg_count == 0 and not name[0] == '$':
name = '${0}'.format(name)

if arg_count == "auto":
# Work out the number of args we need.
Expand Down

0 comments on commit e6403da

Please sign in to comment.