fix query_resource_points and sign_in

This commit is contained in:
HibiKier
2022-05-22 18:08:06 +08:00
parent 92e60ba141
commit d2fe95cc05
5 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ def fig2b64(plt_: plt) -> str:
return "base64://" + base64_str
def is_valid(file: str) -> bool:
def is_valid(file: Union[str, Path]) -> bool:
"""
说明:
判断图片是否损坏