@@ -37,11 +37,10 @@ class AgcVidoe():
) AND a.account_id = {user} and a.`status` = 1 and a.mark = '{mark}' limit {limit_count};"""
print(url_list)
url_list = MysqlHelper.get_values(url_list, "prod")
- if limit_count == 1:
- if url_list:
+ if url_list:
+ if limit_count == 1:
return url_list
- else:
+ else:
if len(url_list) >= 30:
return None