1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Decrypt URI in _protocol_info() method

This commit is contained in:
Manuel Gomez 2019-04-09 15:18:24 +02:00 committed by GitHub
parent cd1e4de42b
commit 6f23c59ca8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,6 +143,7 @@ class Mailbox(models.Model):
@property
def _protocol_info(self):
self.uri = self.decrypt_uri()
return urlparse(self.uri)
@property