Skip to content

Commit

Permalink
Merge pull request #24 from baoj2010/main
Browse files Browse the repository at this point in the history
Fix the bug of bali add ...
  • Loading branch information
JoshYuJump authored Dec 10, 2021
2 parents bda61ca + 7c9de8a commit 8b06a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/biz.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def compile_client_file(proto_path: Path, service_name: str):

# 按照项目约定,一个 proto 文件中只有一个 service
service, methods = None, []
with proto_path.open() as f:
with proto_path.open(encoding='utf-8') as f:
for i in f.readlines():
_service = service_pattern.match(i)
_rpc = rpc_pattern.match(i)
Expand Down

0 comments on commit 8b06a2d

Please sign in to comment.