Browse Source

check if the instance is in unseen_ids before trying to remove it

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
dfa536662f
  1. 3
      pyweb/mumble/management/server_detect.py

3
pyweb/mumble/management/server_detect.py

@ -112,7 +112,8 @@ def find_existing_instances( **kwargs ):
meta.save() meta.save()
for id in servIDs: for id in servIDs:
unseen_ids.remove(id)
if id in unseen_ids:
unseen_ids.remove(id)
if v > 1: if v > 1:
print "Checking Murmur instance with id %d." % id print "Checking Murmur instance with id %d." % id
# first check that the server has not yet been inserted into the DB # first check that the server has not yet been inserted into the DB

Loading…
Cancel
Save