Traceback (most recent call last): File "/data/www/108cun/108cun.py", line 952, in get cl_r = clist.split(',')[random.randint(0, i)] File "/usr/lib64/python2.7/random.py", line 241, in randint return self.randrange(a, b+1) File "/usr/lib64/python2.7/random.py", line 217, in randrange raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width) ValueError: empty range for randrange() (0,0, 0)