mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +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