🐛 hotfix: 删除 line_profiler_pycharm

This commit is contained in:
Li Chuangbo 2022-10-22 11:58:18 +08:00
parent e027da8eec
commit 2f8d70334f
No known key found for this signature in database

View File

@ -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():