Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/modules/vcard_temp.py')
-rw-r--r--nbxmpp/modules/vcard_temp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/vcard_temp.py b/nbxmpp/modules/vcard_temp.py
index 7d3483b..26ef002 100644
--- a/nbxmpp/modules/vcard_temp.py
+++ b/nbxmpp/modules/vcard_temp.py
@@ -138,6 +138,6 @@ class VCard:
if not avatar:
return None, None
- avatar = b64decode(avatar, return_type=bytes)
+ avatar = b64decode(avatar)
avatar_sha = hashlib.sha1(avatar).hexdigest()
return avatar, avatar_sha