liqian 2 years ago
parent
commit
6948ea70cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      check_video_limit_distribute.py

+ 1 - 1
check_video_limit_distribute.py

@@ -24,7 +24,7 @@ def update_limit_video_score(initial_videos, key_name):
         return
     # 获取限流视频对应的score
     limit_video_initial_score = []
-    for video in data:
+    for video in eval(data):
         video_id = int(video[0])
         initial_score = initial_videos.get(video_id, None)
         if initial_score is not None: