mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 12:51:45 +00:00
🐛 Fix Bug
This commit is contained in:
parent
7f93dbf5eb
commit
b47ee6e5dd
@ -37,7 +37,7 @@ async def update_metadata_from_ambr(overwrite: bool = True):
|
|||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
async def stream_request(method, url) -> Iterator[Response]:
|
async def stream_request(method, url) -> Iterator[Response]:
|
||||||
with client.stream(method=method, url=url) as response:
|
async with client.stream(method=method, url=url) as response:
|
||||||
yield response
|
yield response
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user