Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

check last 20 files in ismiaoxia

  • Loading branch information...
commit 1d607c9ed2bd5153ebe98d0ff420a62d08ebbb5f 1 parent a661a8a
Binux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  libs/db_task_manager.py
View
2  libs/db_task_manager.py
@@ -331,7 +331,7 @@ def _random():
if need_miaoxia and not info.get('cid'):
return (-2, "need miaoxia")
if need_miaoxia and not self.xunlei.is_miaoxia(info['cid'],
- [x['index'] for x in info['filelist'] if x['valid']]):
+ [x['index'] for x in info['filelist'] if x['valid']][-20:]):
return (-2, "need miaoxia")
else:
if need_miaoxia and not self.xunlei.is_miaoxia(url):
Please sign in to comment.
Something went wrong with that request. Please try again.