Use the internal parse function to avoid UnicodeDecodeError in mixed, fixes #1277
This commit is contained in:
1 parent
0bf8a69024
commit
8ac7d1fdb6
1 file changed
+1
-1
@@ -104,7 +104,7 @@ class MixedObjectFilter(compiled.CompiledObjectFilter):
|
||||
|
||||
@evaluator_function_cache()
|
||||
def _load_module(evaluator, path):
|
||||
module_node = evaluator.grammar.parse(
|
||||
module_node = evaluator.parse(
|
||||
path=path,
|
||||
cache=True,
|
||||
diff_cache=settings.fast_parser,
|
||||
|
||||
Reference in new issue
Block a user