Skip to content

Commit cf2c129

Browse files
committed
fix
1 parent 86c9bc1 commit cf2c129

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lightllm/utils/multimodal_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ def __init__(self, maxsize: int = 256):
2727
def _normalize_url(url: str) -> str:
2828
return url.strip()
2929

30-
async def get_or_create(
31-
self, url: str, proxy: Optional[str], loader: Callable[[], Awaitable[bytes]]
32-
) -> bytes:
30+
async def get_or_create(self, url: str, proxy: Optional[str], loader: Callable[[], Awaitable[bytes]]) -> bytes:
3331
key = (self._normalize_url(url), proxy)
3432

3533
async with self._lock:

0 commit comments

Comments
 (0)