Skip to content

Commit

Permalink
Upgrade wcferry to 37.1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lich0821 committed May 9, 2023
1 parent 0e088c2 commit ddcf33b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pandas
pyyaml
schedule
uvicorn[standard]
wcferry==3.7.0.30.25
wcferry==37.1.25.0
3 changes: 2 additions & 1 deletion robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ def autoAcceptFriendRequest(self, msg: WxMsg) -> None:
xml = ET.fromstring(msg.content)
v3 = xml.attrib["encryptusername"]
v4 = xml.attrib["ticket"]
self.wcf.accept_new_friend(v3, v4)
scene = xml.attrib["scene"]
self.wcf.accept_new_friend(v3, v4, scene)

except Exception as e:
self.LOG.error(f"同意好友出错:{e}")
Expand Down

0 comments on commit ddcf33b

Please sign in to comment.