mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
Update write_version_data
This commit is contained in:
parent
3ccb3a5be5
commit
7bfbadc254
@ -28,11 +28,3 @@ file2 = open("..\\scripts\\twblue.nsi", "w", encoding="utf-8")
|
||||
file2.write(contents)
|
||||
file2.close()
|
||||
print("done")
|
||||
print("Writing keys to module...")
|
||||
file3 = open("appkeys.py", "w")
|
||||
keys = """twitter_api_key = "{}"
|
||||
twitter_api_secret = "{}"
|
||||
""".format(os.environ.get("TWITTER_API_KEY"), os.environ.get("TWITTER_API_SECRET"))
|
||||
file3.write(keys)
|
||||
file3.close()
|
||||
print("Wrote set of keys for consumer of {}".format(os.environ.get("TWITTER_API_KEY")))
|
Loading…
Reference in New Issue
Block a user