lint: fix bare except and unused variables
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@ class ScraperJobService:
|
||||
)
|
||||
elif job_type == "scrape_selected":
|
||||
await self._scrape_channels(
|
||||
scraper, [str(channel_id) for channel_id in payload.get("channels", [])]
|
||||
scraper,
|
||||
[str(channel_id) for channel_id in payload.get("channels", [])],
|
||||
)
|
||||
elif job_type == "export_all":
|
||||
await scraper.export_data()
|
||||
|
||||
Reference in New Issue
Block a user