logging.warn("Template with empty title")
pair = next((x for x in frame if x[0] == templateTitle), None)
if pair:
params = pair[1]
// extract positional args
params = [params.get(str(i+1)) for i in range(len(params))]
return funct(*params)
else:
return funct()
return ""
After Change
if functions:
funct = functions.get(function)
if funct:
return text_type(funct(args))
return ""
parserFunctions = {