|
@@ -47,7 +47,7 @@ def get_carry_data(REDIS_NAME):
|
|
"""获取一条需要打标签的视频"""
|
|
"""获取一条需要打标签的视频"""
|
|
helper = SyncRedisHelper()
|
|
helper = SyncRedisHelper()
|
|
client = helper.get_client()
|
|
client = helper.get_client()
|
|
- ret = client.rpop(REDIS_NAME)
|
|
|
|
|
|
+ ret = client.lpop(REDIS_NAME)
|
|
return ret
|
|
return ret
|
|
|
|
|
|
def in_carry_video_data(REDIS_NAME, ret):
|
|
def in_carry_video_data(REDIS_NAME, ret):
|