projects
/
video-tweet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ac7c4
)
fix to usecam fix to use symlined oauth token
master
author
Ian Kelling
<iank@fsf.org>
Thu, 29 Dec 2022 19:53:57 +0000
(14:53 -0500)
committer
Ian Kelling
<iank@fsf.org>
Thu, 29 Dec 2022 19:53:57 +0000
(14:53 -0500)
async-upload.py
patch
|
blob
|
blame
|
history
diff --git
a/async-upload.py
b/async-upload.py
index 202835519f8a2501a829921228a8b1334e18338e..3d4a8bf30f3172035828923b25be7997aa144022 100644
(file)
--- a/
async-upload.py
+++ b/
async-upload.py
@@
-13,7
+13,7
@@
POST_TWEET_URL = 'https://api.twitter.com/1.1/statuses/update.json'
CONSUMER_KEY = 'hJHyPhuU7nSVHrKTVsGVDM4Lw'
CONSUMER_SECRET = '8UCYePqc1y9DY6mg0yQzLoTuq57AIysype2Si63714uACGMCbO'
-with open(os.path.expanduser('~') + '/.rainbow_oauth
-fsf
') as fp:
+with open(os.path.expanduser('~') + '/.rainbow_oauth') as fp:
ACCESS_TOKEN = fp.readline().rstrip('\n')
ACCESS_TOKEN_SECRET = fp.readline().rstrip('\n')