From fe2ff35ba3232eb25cf70c57c4ee00a6fc1b5b1b Mon Sep 17 00:00:00 2001 From: claravox Date: Thu, 30 Nov 2023 08:12:21 +0100 Subject: [PATCH] Linting --- user/user.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/user/user.py b/user/user.py index ba1cc4fa..e0cad9d4 100644 --- a/user/user.py +++ b/user/user.py @@ -14,13 +14,13 @@ current_app as app, flash, g, + Markup, redirect, render_template, request, Response, session, - url_for, - Markup + url_for ) from irods.exception import CAT_INVALID_AUTHENTICATION, CAT_INVALID_USER, iRODSException, PAM_AUTH_PASSWORD_FAILED from irods.session import iRODSSession @@ -107,9 +107,9 @@ def login() -> Response: except CAT_INVALID_USER: first_message = 'Your user is not part of the Yoda system (yet).' website_message = (f'Go to this page to learn about gaining access.') + 'class="alert-link">this page to learn about gaining access.') email_message = (f'Contact this email for help getting access.') + 'class="alert-link">this email for help getting access.') if (app.config.get("LOGIN_HELP_CONTACT_WEBSITE") and app.config.get("LOGIN_HELP_CONTACT_EMAIL")): message = Markup(