fixes logic bug
This commit is contained in:
parent
87e007147c
commit
a84886a6e6
1 changed files with 1 additions and 1 deletions
|
@ -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 + "]"
|
||||
|
||||
|
|
Reference in a new issue