diff --git a/pyweb/mumble/mmobjects.py b/pyweb/mumble/mmobjects.py index 40519b7..db7072e 100644 --- a/pyweb/mumble/mmobjects.py +++ b/pyweb/mumble/mmobjects.py @@ -118,7 +118,7 @@ class mmChannel( object ): if forUser is not None: 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 chanlist = self.parentChannels() + [self.name]; diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index 759afed..dc4516d 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -351,7 +351,7 @@ class Mumble( models.Model ): if forUser is not None: 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: return "mumble://%s%s:%d/?%s" % ( userstr, self.addr, self.port, versionstr );