Browse Source

this didn't check the server instance, hence it only worked reliably when a single instance was running during syncdb

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
482043561f
  1. 2
      pyweb/mumble/management.py

2
pyweb/mumble/management.py

@ -150,7 +150,7 @@ def find_existing_instances( **kwargs ):
if v > 1: if v > 1:
print "Checking Player with id %d and name '%s'." % playerdata[:2]; print "Checking Player with id %d and name '%s'." % playerdata[:2];
try: try:
models.MumbleUser.objects.get( mumbleid=playerdata[0] );
models.MumbleUser.objects.get( server=instance, mumbleid=playerdata[0] );
except models.MumbleUser.DoesNotExist: except models.MumbleUser.DoesNotExist:
if v: if v:
print 'Found new Player "%s".' % playerdata[1]; print 'Found new Player "%s".' % playerdata[1];

Loading…
Cancel
Save