pull/635/head
梦溪畔 2025-04-02 13:41:07 +08:00 committed by GitHub
parent 82351b436c
commit 56f8016938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class RelationshipManager:
level_num = 5 if relationship_value > 1000 else 0
return level_num
def ensure_float(elsf, value, person_id):
def ensure_float(self, value, person_id):
"""确保返回浮点数转换失败返回0.0"""
if isinstance(value, float):
return value