Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed Oct 20, 2021
1 parent dcd2972 commit 0eb805f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion differential/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 0eb805f

Please sign in to comment.