| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6f7e499 commit d09eaa0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -226,11 +226,11 @@ | |||
| 226 | 226 | ||
| 227 | 227 | # files update | |
| 228 | 228 | f.content = 'new content' | |
| 229 | - f.save(branch='master', commit_message='Update testfile') | ||
| 229 | + f.save(branch_name='master', commit_message='Update testfile') | ||
| 230 | 230 | ||
| 231 | 231 | # or for binary data | |
| 232 | 232 | 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') | ||
| 234 | 234 | # end files update | |
| 235 | 235 | ||
| 236 | 236 | # files delete | |
| Back | FazBrowse Home | New Git URL |
0 commit comments