更改主播名称判断,西瓜老是给些其他主播的名字忽悠程序TAT、

This commit is contained in:
2019-08-23 11:07:43 +08:00
parent f25aac1fd9
commit a0824785e5
2 changed files with 16 additions and 11 deletions

2
api.py
View File

@ -145,7 +145,7 @@ class XiGuaLiveApi:
"""
if self.name is None or self.roomLiver is None:
return False
return True
return self.name == self.roomLiver.__str__() or self.roomLiver.__str__() in self.name or self.name in self.roomLiver.__str__()
def _forceSearchUser(self):
"""