aboutsummaryrefslogtreecommitdiff
path: root/newspipe
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-10-15 15:08:50 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-10-15 15:08:50 +0200
commit05e28d8ec047270102645d1faca687b6fc293b67 (patch)
tree3cf41cc1dae8f8d4bb284b4922378c1c245686f8 /newspipe
parentchg: updated default configuration for SQLite. (diff)
downloadnewspipe-05e28d8ec047270102645d1faca687b6fc293b67.tar.gz
newspipe-05e28d8ec047270102645d1faca687b6fc293b67.tar.bz2
newspipe-05e28d8ec047270102645d1faca687b6fc293b67.zip
chg: removed useless import
Diffstat (limited to 'newspipe')
-rw-r--r--newspipe/web/forms.py6
1 files 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):
bgstack15