mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-25 03:00:17 +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)
|
||||
for item in items:
|
||||
if picked <= priority:
|
||||
if picked <= item:
|
||||
address = addresses[item]
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue