Movatterモバイル変換


[0]ホーム

URL:


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

Commit35c6bbb

Browse files
author
Gauvain Pocentek
committed
[docs] artifacts example: open file in wb mode
Fixes#194
1 parentd86ca59 commit35c6bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/gl_objects/builds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
# stream artifacts
8181
classFoo(object):
8282
def__init__(self):
83-
self._fd=open('artifacts.zip','w')
83+
self._fd=open('artifacts.zip','wb')
8484

8585
def__call__(self,chunk):
8686
self._fd.write(chunk)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp