Fix error with DNS selection.
Missed a renaming of 'priority' to 'item'
This commit is contained in:
parent
45412fd404
commit
ad032e5ed7
@ -183,7 +183,7 @@ class ClientXMPP(BaseXMPP):
|
|||||||
|
|
||||||
picked = random.randint(0, intmax)
|
picked = random.randint(0, intmax)
|
||||||
for item in items:
|
for item in items:
|
||||||
if picked <= priority:
|
if picked <= item:
|
||||||
address = addresses[item]
|
address = addresses[item]
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user