changeset 3007:420897488080

plugins account, email invitation: fixed import of "email" module after it has been moved
author Goffi <goffi@goffi.org>
date Mon, 15 Jul 2019 22:36:28 +0200 (2019-07-15)
parents ba9aaf7d6cd0
children c8c68a3b0a79
files sat/plugins/plugin_misc_account.py sat/plugins/plugin_misc_email_invitation.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_account.py	Sun Jul 14 21:19:47 2019 +0200
+++ b/sat/plugins/plugin_misc_account.py	Mon Jul 15 22:36:28 2019 +0200
@@ -30,7 +30,7 @@
 from twisted.internet import defer
 from twisted.python.failure import Failure
 from twisted.words.protocols.jabber import jid
-from sat.tools import email as sat_email
+from sat.tools.common import email as sat_email
 
 #  FIXME: this plugin code is old and need a cleaning
 # TODO: account deletion/password change need testing
--- a/sat/plugins/plugin_misc_email_invitation.py	Sun Jul 14 21:19:47 2019 +0200
+++ b/sat/plugins/plugin_misc_email_invitation.py	Mon Jul 15 22:36:28 2019 +0200
@@ -28,7 +28,7 @@
 from sat.tools import utils
 from sat.tools.common import data_format
 from sat.memory import persistent
-from sat.tools import email as sat_email
+from sat.tools.common import email as sat_email
 
 log = getLogger(__name__)