Skip to content
Browse files

check last 20 files in ismiaoxia

  • Loading branch information...
1 parent a661a8a commit 1d607c9ed2bd5153ebe98d0ff420a62d08ebbb5f Binux committed Jan 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/
2 libs/
@@ -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")
if need_miaoxia and not self.xunlei.is_miaoxia(url):

0 comments on commit 1d607c9

Please sign in to comment.
Something went wrong with that request. Please try again.