|
@@ -72,7 +72,7 @@ class CloudPhotoView(View):
|
|
|
.values('device_uid', 'channel', 'event_time')
|
|
|
count = eq_qs.count()
|
|
|
page = int(count / 2) if count > 1 else count
|
|
|
- redis.lrem(UID_KEY, 0, item)
|
|
|
+ redis.lrem(UID_KEY, item, 0)
|
|
|
if page == 0:
|
|
|
continue
|
|
|
eq_qs = eq_qs[(page - 1) * 1:page * 1]
|