aboutsummaryrefslogtreecommitdiff
path: root/newspipe/web/forms.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2021-12-28 01:12:02 +0100
commit56b34db2bb402fd4b2991e271ec493f8bfb96420 (patch)
tree8938cff4a0af7593fec5dd884de5803a0eee226b /newspipe/web/forms.py
parentupdated SQLAlchemy (diff)
downloadnewspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.gz
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.tar.bz2
newspipe-56b34db2bb402fd4b2991e271ec493f8bfb96420.zip
chg: [style] Format with black.
Diffstat (limited to 'newspipe/web/forms.py')
-rw-r--r--newspipe/web/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/newspipe/web/forms.py b/newspipe/web/forms.py
index 2aa28f07..3a492134 100644
--- a/newspipe/web/forms.py
+++ b/newspipe/web/forms.py
@@ -211,7 +211,8 @@ class ProfileForm(FlaskForm):
validated = False
if not 20 <= len(self.password.data) <= 500:
message = lazy_gettext(
- "Password must be between 20 and 500 characters.")
+ "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