Commit a796c881 authored by Daniel Brötzmann's avatar Daniel Brötzmann

[omemo] Fix uri NameError in debug log

parent f1c8c440
......@@ -79,7 +79,7 @@ class FileDecryption:
file = File(urlparts.geturl(), instance.account)
if urlparts.scheme not in ['https', 'aesgcm'] or not urlparts.netloc:
log.info("Not accepting URL for decryption: %s", url)
log.info("Not accepting URL for decryption: %s", uri.data)
return
if urlparts.scheme == 'aesgcm':
......@@ -87,7 +87,7 @@ class FileDecryption:
file.url = 'https://' + file.url[9:]
if not self.is_encrypted(file):
log.info('Url not encrypted: %s', url)
log.info('URL not encrypted: %s', uri.data)
return
self.create_paths(file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment