adds Mastodon features and testmode #2

Merged
bernd2k merged 10 commits from mastodon into master 2020-01-06 13:34:55 +00:00
Showing only changes of commit a84886a6e6 - Show all commits

View file

@ -161,7 +161,7 @@ while True:
time_closing = datetime.datetime.fromtimestamp(int( time_now )).strftime('%Y-%m-%d %H:%M:%S')
texts = data_status["closing_text"][number]["text"]
if MASTODON_ACCESS_TOKEN != "fill in your data!":
if TWITTER_ACCESS_KEY != "fill in your data!":
if texts.get("twitter") != None:
text = texts["twitter"] + " [CLOSED:" + time_closing + "]"