From 01e238d892635d127ecf8ec7a794fd7cd135b35f Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Sat, 7 Nov 2009 17:09:12 +0100 Subject: [PATCH] murmur doesn't rename the field when converting, so check both fields --- pyweb/mumble/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyweb/mumble/models.py b/pyweb/mumble/models.py index 8f9ac7a..40aa343 100644 --- a/pyweb/mumble/models.py +++ b/pyweb/mumble/models.py @@ -216,7 +216,7 @@ class Mumble( models.Model ): self.obfsc = bool( find_in_dicts( 'obfuscate' ) ); if self.ctl.getVersion()[:2] == ( 1, 2 ): - self.player = find_in_dicts( 'username' ); + self.player = find_in_dicts( ( 'username', 'playername' ) ); else: self.player = find_in_dicts( 'playername' );