Browse Source

fix icesecret not having been entered into the db if meta has been entered into the db by the conversion

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

4
pyweb/mumble/management/server_detect.py

@ -97,7 +97,9 @@ def find_existing_instances( **kwargs ):
try: try:
meta = models.MumbleServer.objects.get( dbus=dbusName ); meta = models.MumbleServer.objects.get( dbus=dbusName );
except models.MumbleServer.DoesNotExist: except models.MumbleServer.DoesNotExist:
meta = models.MumbleServer( dbus=dbusName, secret=icesecret );
meta = models.MumbleServer( dbus=dbusName );
finally:
meta.secret = icesecret;
meta.save(); meta.save();
for id in servIDs: for id in servIDs:

Loading…
Cancel
Save