1
0
Fork 0
mirror of https://github.com/correl/SleekXMPP.git synced 2025-03-29 01:09:09 -09:00

Fix error with DNS selection.

Missed a renaming of 'priority' to 'item'
This commit is contained in:
Lance Stout 2011-07-27 18:40:57 -07:00
parent 45412fd404
commit ad032e5ed7

View file

@ -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