Browse Source

a few last tweaks to fix errors found during testing. fixes #49

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
dddc9e5758
  1. 10
      pyweb/mumble/management/server_detect.py

10
pyweb/mumble/management/server_detect.py

@ -97,7 +97,7 @@ def find_existing_instances( **kwargs ):
"dbus": dbusName,
}
if v:
if v > 1:
print 'Found new Murmur instance... ',
# now create a model for the record set.
@ -107,15 +107,17 @@ def find_existing_instances( **kwargs ):
print "Syncing Murmur instance... ",
instance.configureFromMurmur();
print instance.name;
instance.save( dontConfigureMurmur=True );
if v > 1:
print instance.name;
instance.save( dontConfigureMurmur=True );
# Now search for players on this server that have not yet been registered
if v > 1:
print "Looking for registered Players on Server id %d." % id;
if id in bootedIDs:
if instance.booted:
players = ctl.getRegisteredPlayers(id);
for playerdata in players:

Loading…
Cancel
Save