Browse Source

murmur doesn't rename the field when converting, so check both fields

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

2
pyweb/mumble/models.py

@ -216,7 +216,7 @@ class Mumble( models.Model ):
self.obfsc = bool( find_in_dicts( 'obfuscate' ) ); self.obfsc = bool( find_in_dicts( 'obfuscate' ) );
if self.ctl.getVersion()[:2] == ( 1, 2 ): if self.ctl.getVersion()[:2] == ( 1, 2 ):
self.player = find_in_dicts( 'username' );
self.player = find_in_dicts( ( 'username', 'playername' ) );
else: else:
self.player = find_in_dicts( 'playername' ); self.player = find_in_dicts( 'playername' );

Loading…
Cancel
Save