Skip to content

Commit d09eaa0

Browse files
author
Gauvain Pocentek
committed
Fix examples for file modification
Fixes #156
1 parent 6f7e499 commit d09eaa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gl_objects/projects.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@
226226

227227
# files update
228228
f.content = 'new content'
229-
f.save(branch='master', commit_message='Update testfile')
229+
f.save(branch_name='master', commit_message='Update testfile')
230230

231231
# or for binary data
232232
f.content = base64.b64encode(open('image.png').read())
233-
f.save(branch='master', commit_message='Update testfile', encoding='base64')
233+
f.save(branch_name='master', commit_message='Update testfile', encoding='base64')
234234
# end files update
235235

236236
# files delete

0 commit comments

Comments
 (0)