From f5c57d8e73f33ca1d7374a2662fbc7a4592eb7cd Mon Sep 17 00:00:00 2001 From: Dmitrii Morozov Date: Tue, 7 May 2024 16:34:14 +0200 Subject: Python code style --- tgbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tgbot.py') diff --git a/tgbot.py b/tgbot.py index 360f3b0..a0e248b 100755 --- a/tgbot.py +++ b/tgbot.py @@ -1,13 +1,13 @@ #!/usr/bin/python3 -import os, time, telebot, asyncio, telebot.async_telebot, nest_asyncio, sys, logging, time +import os, time, telebot, asyncio, telebot.async_telebot, nest_asyncio, sys from FortniteStatusNotifier import * from Formatter import * from FortniteClient import * from FortniteEvents import * from persistence import UserRepository, StatsRepository, PresenceRepository from TelegramBot import TelegramBot, CommandHandler -from Commands import * +from commands import * class FortniteStatusObserverImpl(FortniteStatusObserver): @@ -17,7 +17,7 @@ class FortniteStatusObserverImpl(FortniteStatusObserver): self.__telegram_bot = telegram_bot async def update(self, fortnite_status) -> None: - await self.__telegram_bot.send_message_to_all(formatFortniteStatus(fortnite_status)) + await self.__telegram_bot.send_message_to_all(format_fortnite_status(fortnite_status)) user_repository = UserRepository() stats_repository = StatsRepository() -- cgit v1.2.3