From 2903988dfd056b544fa43e9cd511dc82ed714888 Mon Sep 17 00:00:00 2001 From: helpau <30323047+helpau@users.noreply.github.com> Date: Sat, 5 Aug 2023 13:18:02 +0500 Subject: [PATCH] missed encoding as parse argument --- thriftpy2/parser/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thriftpy2/parser/__init__.py b/thriftpy2/parser/__init__.py index cb3e4b86..49c66665 100644 --- a/thriftpy2/parser/__init__.py +++ b/thriftpy2/parser/__init__.py @@ -34,7 +34,7 @@ def load(path, """ real_module = bool(module_name) thrift = parse(path, module_name, include_dirs=include_dirs, - include_dir=include_dir) + include_dir=include_dir, encoding=encoding) if incomplete_type: fill_incomplete_ttype(thrift, thrift) if real_module: