zhangyong hai 1 ano
pai
achega
7e8c720ffc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")