Upgrade wcferry to 37.1.25.0

This commit is contained in:
Changhua
2023-05-09 09:55:22 +08:00
parent 0e088c226d
commit ddcf33bb22
2 changed files with 3 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ pandas
pyyaml
schedule
uvicorn[standard]
wcferry==3.7.0.30.25
wcferry==37.1.25.0

View File

@@ -178,7 +178,8 @@ class Robot(Job):
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}")