liqian 2 년 전
부모
커밋
b91bd670a6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      utils.py

+ 2 - 1
utils.py

@@ -437,7 +437,8 @@ class FilterVideos(object):
         # 涉政视频过滤
         if self.app_type not in config_.POLITICAL_RECOMMEND_APP_TYPE_LIST:
             # 增加涉政过滤标识:7
-            types = list(types).append(7)
+            types = list(types)
+            types.append(7)
         request_data = {"appType": self.app_type,
                         "mid": self.mid,
                         "uid": self.uid,