From 3527f8c790d99618248f1a95c5078e8df6489223 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Mon, 16 Nov 2009 21:22:08 +0100 Subject: [PATCH] do I wanna ask..? --- pyweb/mumble/mmobjects.py | 2 +- pyweb/mumble/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 );