this is probably a misstake in the doc?

This commit is contained in:
overflowerror 2015-03-23 13:08:23 +01:00
parent 93f388702c
commit 7850d33050

View file

@ -27,12 +27,12 @@ def connect():
)
genconf = open("gen-config.py", "w")
genconf.write("# don't edit this file\n\n")
genconf.write("ACCESS_TOKEN_KEY = " + token.key + "\n")
genconf.write("ACCESS_TOKEN_SECRET = " + token.secret + "\n")
genconf.write("ACCESS_TOKEN_KEY = " + token[0] + "\n")
genconf.write("ACCESS_TOKEN_SECRET = " + token[1] + "\n")
ĝenconf.close()
ACCESS_TOKEN_KEY = token.key
ACCESS_TOKEN_SECRET = token.secret
ACCESS_TOKEN_KEY = token[0]
ACCESS_TOKEN_SECRET = token[1]
else:
ACCESS_TOKEN_KEY = NP_ACCESS_TOKEN_KEY
ACCESS_TOKEN_SECRET = NP_ACCESS_TOKEN_SECRET