mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fix error with DNS selection.
Missed a renaming of 'priority' to 'item'
This commit is contained in:
parent
45412fd404
commit
ad032e5ed7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue