cleanup/rm

This commit is contained in:
2025-02-18 14:37:37 -05:00
parent a1484c572c
commit 119f40daf8
24 changed files with 5 additions and 56 deletions

View File

@ -1,7 +1,4 @@
#!/usr/bin/env python3.12
import time
import logging
from typing import Optional
from fastapi import FastAPI
from fastapi.responses import JSONResponse
@ -86,7 +83,7 @@ class Misc(FastAPI):
"""
Homepage Lyrics Widget Handler
"""
found_counts: dict = await self.redis_cache.get_found_counts()
found_counts: Optional[dict] = await self.redis_cache.get_found_counts()
if not isinstance(found_counts, dict):
return JSONResponse(status_code=500, content={
'err': True,