Fix autoAcceptFriendRequest

This commit is contained in:
Changhua
2023-05-17 17:58:56 +08:00
parent b07d728280
commit 40d4898f9b
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ pandas
pyyaml
schedule
uvicorn[standard]
wcferry==37.1.25.2
wcferry==37.1.25.3

View File

@@ -177,7 +177,7 @@ class Robot(Job):
xml = ET.fromstring(msg.content)
v3 = xml.attrib["encryptusername"]
v4 = xml.attrib["ticket"]
scene = xml.attrib["scene"]
scene = int(xml.attrib["scene"])
self.wcf.accept_new_friend(v3, v4, scene)
except Exception as e: