More ruff fixes (#2)
* adding ruff auto check for pull requests as well as fixing all ruff errors * More ruff fixes: forgot half of the ruff checks Forgot to do a git add all :D --------- Co-authored-by: Kadir <git@k8n.dev>
This commit is contained in:
parent
4c23acdb55
commit
0801aaf200
14 changed files with 23 additions and 32 deletions
|
|
@ -101,7 +101,7 @@ async def get_task_status(
|
|||
task_result = listing_tasks.dump_listings_task.AsyncResult(task_id)
|
||||
try:
|
||||
result = json.dumps(task_result.result)
|
||||
except:
|
||||
except Exception:
|
||||
result = str(task_result.result)
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue