Browse Source

do I wanna ask..?

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
3527f8c790
  1. 2
      pyweb/mumble/mmobjects.py
  2. 2
      pyweb/mumble/models.py

2
pyweb/mumble/mmobjects.py

@ -118,7 +118,7 @@ class mmChannel( object ):
if forUser is not None: if forUser is not None:
userstr = "%s@" % forUser.name; userstr = "%s@" % forUser.name;
versionstr = "version=%d.%d.%d" % self.server.version[0:3];
versionstr = "version=%d.%d.%d" % tuple(self.server.version[0:3]);
# create list of all my parents and myself # create list of all my parents and myself
chanlist = self.parentChannels() + [self.name]; chanlist = self.parentChannels() + [self.name];

2
pyweb/mumble/models.py

@ -351,7 +351,7 @@ class Mumble( models.Model ):
if forUser is not None: if forUser is not None:
userstr = "%s@" % forUser.name; userstr = "%s@" % forUser.name;
versionstr = "version=%d.%d.%d" % self.version[0:3];
versionstr = "version=%d.%d.%d" % tuple(self.version[0:3]);
if self.port != settings.MUMBLE_DEFAULT_PORT: if self.port != settings.MUMBLE_DEFAULT_PORT:
return "mumble://%s%s:%d/?%s" % ( userstr, self.addr, self.port, versionstr ); return "mumble://%s%s:%d/?%s" % ( userstr, self.addr, self.port, versionstr );

Loading…
Cancel
Save