Mercurial > libervia-backend
changeset 3199:5afd7416ca2d
plugin XEP-0054: fixed use of current dir instead of empty string
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Mar 2020 18:33:16 +0100 |
parents | 08151c103636 |
children | 5c3bf37f2202 |
files | sat/plugins/plugin_xep_0054.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0054.py Sun Mar 01 18:31:45 2020 +0100 +++ b/sat/plugins/plugin_xep_0054.py Sun Mar 01 18:33:16 2020 +0100 @@ -21,7 +21,6 @@ import mimetypes from base64 import b64decode, b64encode from hashlib import sha1 -from pathlib import Path from zope.interface import implementer from twisted.internet import threads, defer from twisted.words.protocols.jabber import jid, error @@ -435,7 +434,7 @@ raise KeyError else: # avatar has already been checked but it is not set - full_path = Path("") + full_path = "" except KeyError: # avatar is not in cache if cache_only: