소스 검색

修改西瓜

罗俊辉 1 년 전
부모
커밋
4d66cebf8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      xigua/xigua_author/xigua_author.py

+ 1 - 1
xigua/xigua_author/xigua_author.py

@@ -654,7 +654,7 @@ class XiGuaAuthor:
         :param account: 输入的账号信息
         {'play_cnt': {'min': 100000, 'max': 0}, 'period': {'min': 5, 'max': 5}}
         """
-        flag = account.split("")
+        flag = account.split("_")[-1]
         if flag == "V1":
             rule_dict = {
                 "play_cnt": {"min": 50000, "max": 0},