Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix too long line

Roland Geidera02d1fddd217
diff --git a/wger/core/views/user.py b/wger/core/views/user.py
index 3ad6f4d9c..4bd37dac3 100644
--- a/wger/core/views/user.py
+++ b/wger/core/views/user.py
@@ -239,7 +239,8 @@ def registration(request):
template_data.update(csrf(request))
# Don't show captcha if the global parameter is false
- FormClass = RegistrationForm if settings.WGER_SETTINGS['USE_RECAPTCHA'] else RegistrationFormNoCaptcha
+ FormClass = RegistrationForm if settings.WGER_SETTINGS['USE_RECAPTCHA'] \
+ else RegistrationFormNoCaptcha
# Redirect regular users, in case they reached the registration page
if request.user.is_authenticated and not request.user.userprofile.is_temporary: