zhangyong 1 rok pred
rodič
commit
7e8c720ffc
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      video_agc/agc_video_method.py

+ 1 - 1
video_agc/agc_video_method.py

@@ -27,7 +27,7 @@ class AgcVidoe():
         for i in range(5):
             user = random.choice(user_list)
             if "-" not in mark:
-                user = str(user).replace('(', '').replace(')', '').replace(',', '')
+                user = user.replace('(', '').replace(')', '').replace(',', '')
             current_time = datetime.now()
             three_days_ago = current_time - timedelta(days=3)
             formatted_current_time = current_time.strftime("%Y-%m-%d")