fix logging
This commit is contained in:
doms9 2026-01-06 18:24:02 -05:00
parent d231f8c02e
commit 00000d9dfc
3 changed files with 34 additions and 8 deletions

View file

@ -49,6 +49,8 @@ def load_base() -> tuple[list[str], int]:
async def main() -> None:
log.info(f"{'=' * 10} Scraper Started {'=' * 10}")
base_m3u8, tvg_chno = load_base()
tasks = [
@ -144,6 +146,10 @@ async def main() -> None:
log.info(f"Events saved to {EVENTS_FILE.resolve()}")
for hndlr in log.handlers:
hndlr.flush()
hndlr.stream.write("\n")
if __name__ == "__main__":
asyncio.run(main())