Merge branch 'master' of git://github.com/fritzy/SleekXMPP into develop
# By Lance Stout # Via Lance Stout * 'master' of git://github.com/fritzy/SleekXMPP: Turns out not all data is UTF-8, so don't try to decode it.
This commit is contained in:
@@ -14,7 +14,7 @@ def to_b64(data):
|
||||
|
||||
|
||||
def from_b64(data):
|
||||
return bytes(base64.b64decode(bytes(data))).decode('utf-8')
|
||||
return bytes(base64.b64decode(bytes(data)))
|
||||
|
||||
|
||||
class Open(ElementBase):
|
||||
|
||||
Reference in New Issue
Block a user