diff options
Diffstat (limited to 'app/tasks')
| -rw-r--r-- | app/tasks/emails.py | 2 | ||||
| -rw-r--r-- | app/tasks/importtasks.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/tasks/emails.py b/app/tasks/emails.py index 5eb915e..f81deaa 100644 --- a/app/tasks/emails.py +++ b/app/tasks/emails.py @@ -34,7 +34,7 @@ def sendVerifyEmail(newEmail, token): If this was you, then please click this link to verify the address: {} - """.format(url_for('verify_email_page', token=token, _external=True)) + """.format(url_for('users.verify_email', token=token, _external=True)) msg.html = render_template("emails/verify.html", token=token) mail.send(msg) diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index e53dbfa..ed43584 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -15,7 +15,7 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. -import flask, json, os, git, tempfile, shutil +import flask, json, os, git, tempfile, shutil, gitdb from git import GitCommandError from flask_sqlalchemy import SQLAlchemy from urllib.error import HTTPError |
