refactor(storage): relocate logs and sessions

This commit is contained in:
2026-07-29 19:13:13 +05:00
parent fbeb80eece
commit 3d5b2a65ce
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ class TelegramStarsBot:
await asyncio.sleep(self.config.check_interval)
async def start(self):
is_first_login = not os.path.exists(f"{self.SESSION_NAME}.session")
is_first_login = not os.path.exists(f"storage/{self.SESSION_NAME}.session")
if is_first_login:
logger.info("Сессия Telegram не найдена. Запускаю процесс входа...")