when updating search page, do not keep old profiles to visit
This commit is contained in:
parent
28e57001bc
commit
b87f97165d
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class ProfilesWalker(Optimization):
|
|||
with self.browser:
|
||||
profiles_to_visit = self.browser.search_profiles().difference(self.visited_profiles)
|
||||
info(u'Enqueuing profiles to visit: %s' % profiles_to_visit)
|
||||
self.profiles_queue.update(profiles_to_visit)
|
||||
self.profiles_queue = set(profiles_to_visit)
|
||||
self.save()
|
||||
except BrowserUnavailable:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue