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:
authorlovetox <philipp@hoerist.com>2021-10-17 13:15:03 +0300
committerlovetox <philipp@hoerist.com>2021-10-17 13:15:03 +0300
commitf5a9acc056bdeb6047f3fcade088004c486e94df (patch)
treef42bd1d00e75216df393bec8126ee263de6487f4 /nbxmpp/modules/vcard_temp.py
parentb48f0f6c8dd704fe7d47c023e3dca53b3730665a (diff)
Refactor b64decode()
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