Update telegram_helper.py
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ class TelegramHelper:
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
self.telegram_bot_token = os.getenv('TELEGRAM_BOT_TOKEN')
|
||||
self.repo_path = os.getenv("GITHUB_WORKSPACE", ".")
|
||||
self.repo_path = os.getenv("GITHUB_REPOSITORY", ".")
|
||||
self.repo = git.Repo(self.repo_path)
|
||||
self.start_time = time.time()
|
||||
|
||||
@@ -128,4 +128,4 @@ class TelegramHelper:
|
||||
# Start the commit checking task
|
||||
asyncio.get_event_loop().create_task(self.check_for_new_commits())
|
||||
|
||||
application.run_polling()
|
||||
application.run_polling()
|
||||
|
||||
Reference in New Issue
Block a user