From 92ac6dd0146cd1e68087e756714ba4c47ec27a31 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth <git@tilmanvatteroth.de> Date: Sun, 10 Apr 2022 16:15:47 +0200 Subject: [PATCH] Fix typos --- src/telegram_bot.py | 1 + src/twitter_bot.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/telegram_bot.py b/src/telegram_bot.py index b99547e6..73a839d4 100755 --- a/src/telegram_bot.py +++ b/src/telegram_bot.py @@ -1,6 +1,7 @@ #!/bin/env python3 import telepot import argparse +import os from program_info import ProgramInfo telegram_recv = "@ufcdortmund" # kanal diff --git a/src/twitter_bot.py b/src/twitter_bot.py index 3765fb25..4c6666d2 100755 --- a/src/twitter_bot.py +++ b/src/twitter_bot.py @@ -9,7 +9,7 @@ from program_info import ProgramInfo CONSUMER_KEY = os.environ["PROGRAMM_INFO_BOT_TWITTER_CONSUMER_KEY"] CONSUMER_SECRET = os.environ["PROGRAMM_INFO_BOT_TWITTER_CONSUMER_SECRET"] ACCESS_TOKEN = os.environ["PROGRAMM_INFO_BOT_TWITTER_ACCESS_TOKEN"] -ACCESS_TOKEN_SECRET = os.environ["PRGRAMM_INFO_BOT_TWITTER_ACCESS_TOKEN_SECRET"] +ACCESS_TOKEN_SECRET = os.environ["PROGRAMM_INFO_BOT_TWITTER_ACCESS_TOKEN_SECRET"] auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET) -- GitLab