mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 hotfix: 删除 line_profiler_pycharm
This commit is contained in:
parent
e027da8eec
commit
2f8d70334f
@ -4,7 +4,6 @@ from typing import Iterator
|
||||
import ujson as json
|
||||
from aiofiles import open as async_open
|
||||
from httpx import AsyncClient, RemoteProtocolError, Response, URL
|
||||
from line_profiler_pycharm import profile
|
||||
|
||||
from utils.const import AMBR_HOST, PROJECT_ROOT
|
||||
from utils.log import logger
|
||||
@ -39,7 +38,6 @@ async def stream_request(method, url) -> Iterator[Response]:
|
||||
|
||||
|
||||
# noinspection PyShadowingNames
|
||||
@profile
|
||||
async def update_metadata_from_github(overwrite: bool = True):
|
||||
path = PROJECT_ROOT.joinpath("metadata/data/namecard.json")
|
||||
if not overwrite and path.exists():
|
||||
|
Loading…
Reference in New Issue
Block a user