mirror of
https://github.com/kaaninchen/Gleiswechsel.git
synced 2026-07-21 19:52:47 +00:00
ausführlicheres logging
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ async def _schedule_next_umstieg(bot, arrival_iso):
|
||||
|
||||
if wait_seconds > 0:
|
||||
remaining = str(timedelta(seconds=wait_seconds))
|
||||
logger(f"In {remaining} gehts weiter!...")
|
||||
logger(f"Um {arrival.strftime('%H:%M:%S')} gehts weiter (in {remaining.split("."[0])})!...")
|
||||
await asyncio.sleep(wait_seconds)
|
||||
logger("Zug angekommen, wähle neue Verbindung...")
|
||||
await rename_vc(bot, scheduled=True)
|
||||
|
||||
Reference in New Issue
Block a user