Skip to content

Commit

Permalink
fix: sub module conflict error
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Nov 29, 2024
1 parent 9a9ede8 commit 9193679
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 @@ -181,7 +181,7 @@ def get_definition(thrift, name, lineno):
def load_fp(source, module_name):
"""Load thrift file like object as a module.
"""
thrift = parse_fp(source, module_name, enable_cache=False)
thrift = parse_fp(source, module_name)
sys.modules[module_name] = thrift
return thrift

Expand Down

0 comments on commit 9193679

Please sign in to comment.