ruff check

This commit is contained in:
Sebastian Goscik
2024-08-09 23:45:21 +01:00
parent bbd70f49bf
commit a7ccef7f1d
2 changed files with 11 additions and 3 deletions

View File

@@ -9,5 +9,13 @@ from .downloader_experimental import VideoDownloaderExperimental
from .event_listener import EventListener
from .purge import Purge
from .uploader import VideoUploader
from .missing_event_checker import MissingEventChecker
from .missing_event_checker import MissingEventChecker # isort: skip
__all__ = [
VideoDownloader,
VideoDownloaderExperimental,
EventListener,
Purge,
VideoUploader,
MissingEventChecker,
]

View File

@@ -125,7 +125,7 @@ class MissingEventChecker:
async def ignore_missing(self):
"""Ignore missing events by adding them to the event table."""
logger.info(f" Ignoring missing events")
logger.info(" Ignoring missing events")
async for event in self._get_missing_events():
logger.extra_debug(f"Ignoring event '{event.id}'")
@@ -150,7 +150,7 @@ class MissingEventChecker:
async for event in self._get_missing_events():
if not shown_warning:
logger.warning(f" Found missing events, adding to backup queue")
logger.warning(" Found missing events, adding to backup queue")
shown_warning = True
if event.type != EventType.SMART_DETECT: