Show More
@@ -792,8 +792,10 class engine(object): | |||
|
792 | 792 | filter uses function to transform value. syntax is |
|
793 | 793 | {key|filter1|filter2|...}.''' |
|
794 | 794 | |
|
795 |
def __init__(self, loader, filters= |
|
|
795 | def __init__(self, loader, filters=None, defaults={}): | |
|
796 | 796 | self._loader = loader |
|
797 | if filters is None: | |
|
798 | filters = {} | |
|
797 | 799 | self._filters = filters |
|
798 | 800 | self._defaults = defaults |
|
799 | 801 | self._cache = {} |
General Comments 0
You need to be logged in to leave comments.
Login now