1
0
mirror of https://github.com/balkian/TwitterDigger.git synced 2024-12-27 15:58:13 +00:00

Gets user information right

There was a problem with the ceiling function, I was passing an integer
(/100) instead of a float (/100.0)
This commit is contained in:
J.Fernando Sánchez 2013-03-13 20:18:17 +01:00
parent 5b75a99d09
commit ffbc4b655b

View File

@ -69,7 +69,7 @@ while True:
nextuser=None
minimumscore=1000
unknowns = [person for person in pending if person not in userobject]
for i in xrange(0,int(math.ceil(len(unknowns)/100))):
for i in xrange(0,int(math.ceil(len(unknowns)/100.0))):
piece = unknowns[i*100:(i+1)*100]
getinfo(piece)
for user in pending.copy():