Browse Source

ask for the Ice secret

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

7
pyweb/mumble/management/server_detect.py

@ -14,7 +14,7 @@
* GNU General Public License for more details.
"""
import os
import os, getpass
from django.conf import settings
@ -78,8 +78,10 @@ def find_existing_instances( **kwargs ):
elif dbusName == "2":
dbusName = "Meta:tcp -h 127.0.0.1 -p 6502";
icesecret = getpass.getpass("Please enter the Ice secret (if any): ");
try:
ctl = MumbleCtlBase.newInstance( dbusName, settings.SLICE );
ctl = MumbleCtlBase.newInstance( dbusName, settings.SLICE, icesecret );
except Exception, instance:
if v:
print "Unable to connect using name %s. The error was:" % dbusName;
@ -108,7 +110,6 @@ def find_existing_instances( **kwargs ):
values = {
"server": meta,
"srvid": id,
"dbus": dbusName,
}
if v > 1:

Loading…
Cancel
Save