From 0eb805ff25c6a3692df0eecc75090576dfc7af4d Mon Sep 17 00:00:00 2001 From: Lei Shi Date: Wed, 20 Oct 2021 14:58:24 +0200 Subject: [PATCH] fix typo --- differential/plugins/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/differential/plugins/base.py b/differential/plugins/base.py index 4ebf85c..09e2eba 100644 --- a/differential/plugins/base.py +++ b/differential/plugins/base.py @@ -153,7 +153,7 @@ def upload_screenshots(self, img_dir: str) -> list: logger.info(f"发现已上传的第{count + 1}张截图链接:{img_url}") else: if self.image_hosting == ImageHosting.PTPIMG: - img_url = ptpimg_api_upload(img, self.ptpimg_api_key) + img_url = ptpimg_upload(img, self.ptpimg_api_key) elif self.image_hosting == ImageHosting.CHEVERETO: if not self.chevereto_hosting_url: logger.error("Chevereto地址未提供,请设置chevereto_hosting_url")