diff options
author | Vincent Post <cent@spline.de> | 2020-08-07 16:57:39 +0200 |
---|---|---|
committer | Vincent Post <cent@spline.de> | 2020-08-07 16:57:39 +0200 |
commit | f0a3dfd28d14461caeece9d7c171b6b319049c77 (patch) | |
tree | 3dbc76253a78607f1cdfe36d72c5b93e6a66baf8 /accounts/utils/login.py | |
parent | 1db4f84c5adb2e33ea8d065cb6bcb0e7eeedc02f (diff) | |
download | web-f0a3dfd28d14461caeece9d7c171b6b319049c77.tar.gz web-f0a3dfd28d14461caeece9d7c171b6b319049c77.tar.bz2 web-f0a3dfd28d14461caeece9d7c171b6b319049c77.zip |
2to3 -w accounts contrib
Diffstat (limited to 'accounts/utils/login.py')
-rw-r--r-- | accounts/utils/login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/utils/login.py b/accounts/utils/login.py index 12e7881..71b4f59 100644 --- a/accounts/utils/login.py +++ b/accounts/utils/login.py @@ -36,7 +36,7 @@ def logout_required(f): @wraps(f) def logout_required_(*args, **kwargs): if current_user.is_authenticated(): - raise Forbidden(u'Diese Seite ist nur für nicht eingeloggte Benutzer gedacht!') + raise Forbidden('Diese Seite ist nur für nicht eingeloggte Benutzer gedacht!') return f(*args, **kwargs) return logout_required_ |