修改取消签到的字段名

This commit is contained in:
Womsxd 2022-08-23 23:43:51 +08:00
parent 4ed003c81c
commit d59d419d18
No known key found for this signature in database
GPG Key ID: 0FE76418EE689B68

View File

@ -163,7 +163,7 @@ class Mihoyobbs:
if data["message"] == "OK":
log.debug("点赞:{} 成功".format(self.postsList[i][1]))
# 判断取消点赞是否打开
if config.config["mihoyobbs"]["un_like"]:
if config.config["mihoyobbs"]["cancel_like_posts"]:
time.sleep(random.randint(2, 8))
req = http.post(url=setting.bbs_Like_url, headers=self.headers,
json={"post_id": self.postsList[i][0], "is_cancel": True})