From 05e28d8ec047270102645d1faca687b6fc293b67 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 15 Oct 2021 15:08:50 +0200 Subject: chg: removed useless import --- newspipe/web/forms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newspipe/web/forms.py b/newspipe/web/forms.py index ccc47a87..2aa28f07 100644 --- a/newspipe/web/forms.py +++ b/newspipe/web/forms.py @@ -4,7 +4,7 @@ # Newspipe - A web news aggregator. # Copyright (C) 2010-2021 Cédric Bonhomme - https://www.cedricbonhomme.org # -# For more information: http://gitlab.com/newspipe/newspipe +# For more information: https://sr.ht/~cedric/newspipe # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -33,7 +33,6 @@ from werkzeug.exceptions import NotFound from wtforms import ( BooleanField, HiddenField, - IntegerField, PasswordField, SelectField, SelectMultipleField, @@ -211,7 +210,8 @@ class ProfileForm(FlaskForm): self.password_conf.errors.append(message) validated = False if not 20 <= len(self.password.data) <= 500: - message = lazy_gettext("Password must be between 20 and 500 characters.") + message = lazy_gettext( + "Password must be between 20 and 500 characters.") self.password.errors.append(message) validated = False if self.nickname.data != User.make_valid_nickname(self.nickname.data): -- cgit