Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2990e48

Browse files
authored
Merge pull request #1 from yuhaozhang/master
Fix the call to protobuf's _EncodeVarint
2 parents eaf04fa + cce9fad commit 2990e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎corenlp_protobuf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def writeToDelimitedString(obj, stream=None):
2929
if stream is None:
3030
stream = BytesIO()
3131

32-
_EncodeVarint(stream.write, obj.ByteSize())
32+
_EncodeVarint(stream.write, obj.ByteSize(), True)
3333
stream.write(obj.SerializeToString())
3434
return stream
3535

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /