Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
staugur committed Nov 29, 2016
1 parent a299603 commit 29fd2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grab_huaban_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def GetBoard(board):
print "ajax get %s pins, last pin is %s, merged" %(len(_pins), pins[-1])
_pins= [ _[-1] for _ in re.findall(pat, data) if _[-1] ]
pins += _pins
if len(_pins) < limit:
if len(_pins) == 0:
break
print "Current pins is %d" %len(pins)
num = 1
Expand Down

0 comments on commit 29fd2fb

Please # to comment.