lint: fix bare except and unused variables
This commit is contained in:
1 parent
df644219de
commit
ac5beb831b
15 files changed
+1359
-728
No files matched your search
+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