fix crash when there are no search results
This commit is contained in:
parent
237dd47f28
commit
74cf586d36
1 changed files with 3 additions and 0 deletions
|
|
@ -167,6 +167,9 @@ class PriorityConnection(Optimization):
|
|||
dist='10',
|
||||
save=True)
|
||||
|
||||
if not profiles:
|
||||
continue
|
||||
|
||||
id = profiles.pop()
|
||||
profile = browser.get_profile(id)
|
||||
# bad rate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue