Browse Source

s/encode/encodestring/ *sigh*

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
914ec86c54
  1. 2
      pyweb/mumble/mmobjects.py

2
pyweb/mumble/mmobjects.py

@ -51,7 +51,7 @@ def xmlpopulate( node, srcobj ):
else: else:
encoded = unicode(val) encoded = unicode(val)
if "\x00" in encoded: # user::context. no kidding. complain to pcgod plzkthx. if "\x00" in encoded: # user::context. no kidding. complain to pcgod plzkthx.
node.set( key, base64.encode( encoded ) )
node.set( key, base64.encodestring( encoded ) )
else: else:
node.set( key, encoded ) node.set( key, encoded )

Loading…
Cancel
Save