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

Commit325d45a

Browse files
jeffgreencaomgjlk
authored andcommitted
fix TypeError (sigmavirus24#931)
* fix TypeErrorFix `TypeError: write() argument must be str, not int`* Update docs/source/examples/oauth.rstCo-Authored-By: jeffgreenca <jeff.green.ca@gmail.com>
1 parentf3fc01f commit325d45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/source/examples/oauth.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ application.
5252

5353
with open(CREDENTIALS_FILE, 'w') as fd:
5454
fd.write(auth.token + '\n')
55-
fd.write(auth.id)
55+
fd.write(str(auth.id))
5656

5757
In the future, you can then read that token in without having to bother your
5858
user. If at some later point in the lifetime of your application you need more

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp