In the croniter.py file, line 89 should be changed from:
for j in xrange(int(low), int(high)+1):
if j % int(step) == 0:
e_list.append(j)
To:
for j in xrange(int(low), int(high)+1, int(step)):
if j % int(step) == 0:
e_list.append(j)
Because, % returns intervals that are divisible by denominator between the start and end value whereas it should actually return start value plus the interval and next value should be result plus the interval and goes on.
After the change, the result will be like : [[1, 3, 5, 7, 9], [''], [''], [''], ['']]
In the croniter.py file, line 89 should be changed from: for j in xrange(int(low), int(high)+1): if j % int(step) == 0: e_list.append(j) To: for j in xrange(int(low), int(high)+1, int(step)):
if j % int(step) == 0:
Because, % returns intervals that are divisible by denominator between the start and end value whereas it should actually return start value plus the interval and next value should be result plus the interval and goes on.
After the change, the result will be like : [[1, 3, 5, 7, 9], [''], [''], [''], ['']]