avoid aborting profiles walker when queue is empty

This commit is contained in:
Romain Bignon 2015-07-19 12:50:01 +02:00
commit 51ec383b07

View file

@ -102,7 +102,7 @@ class TinderBrowser(APIBrowser):
if len(self.recs) == 0:
self.update_recs()
if len(self.recs) == 0:
return
return 60
profile = self.recs.pop()