Skip to content

Commit

Permalink
missed encoding as parse argument
Browse files Browse the repository at this point in the history
  • Loading branch information
helpau authored and ethe committed Aug 7, 2023
1 parent c8e5dd4 commit 2903988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thriftpy2/parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2903988

Please sign in to comment.