Browse Source

fix all strings being converted to lower case

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
5e83635d29
  1. 4
      pyweb/mumble/mmobjects.py

4
pyweb/mumble/mmobjects.py

@ -169,7 +169,7 @@ class mmChannel( object ):
elif isinstance( val, list ) or isinstance( val, tuple ): elif isinstance( val, list ) or isinstance( val, tuple ):
me.set( key, ','.join( ( unicode(elem) for elem in val ) ) ) me.set( key, ','.join( ( unicode(elem) for elem in val ) ) )
elif isinstance( val, str ): elif isinstance( val, str ):
me.set( key, unicode(val, "utf8").lower() )
me.set( key, unicode(val, "utf8") )
else: else:
me.set( key, unicode(val) ) me.set( key, unicode(val) )
@ -307,7 +307,7 @@ class mmPlayer( object ):
elif isinstance( val, list ) or isinstance( val, tuple ): elif isinstance( val, list ) or isinstance( val, tuple ):
me.set( key, ','.join( ( unicode(elem) for elem in val ) ) ) me.set( key, ','.join( ( unicode(elem) for elem in val ) ) )
elif isinstance( val, str ): elif isinstance( val, str ):
me.set( key, unicode(val, "utf8").lower() )
me.set( key, unicode(val, "utf8") )
else: else:
me.set( key, unicode(val) ) me.set( key, unicode(val) )

Loading…
Cancel
Save