zhangyong há 1 ano atrás
pai
commit
fd6064e02d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      video_agc/agc_video_method.py

+ 1 - 1
video_agc/agc_video_method.py

@@ -26,7 +26,7 @@ class AgcVidoe():
     def get_url_list(cls, user_list, mark, limit_count):
         for i in range(5):
             user = random.choice(user_list)
-            if "-" in mark:
+            if "-" not in mark:
                 user = str(user).replace('(', '').replace(')', '').replace(',', '')
             current_time = datetime.now()
             three_days_ago = current_time - timedelta(days=3)