From 26d58daac400b0be7b3fc55439161c11d158e30f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 23 Jul 2018 09:46:03 +0200 Subject: [PATCH] [Code Cleanup] Wrap a long line in accounts.py --- calsocial/account.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calsocial/account.py b/calsocial/account.py index 87d9cde..bebf8cc 100644 --- a/calsocial/account.py +++ b/calsocial/account.py @@ -230,6 +230,8 @@ class AccountBlueprint(Blueprint, RoutedMixin): flash(_('Can’t invalidate your current session')) else: current_app.session_interface.delete_session(sid) - current_user.active_sessions = [sess_id for sess_id in current_user.active_sessions if sess_id != sid] + current_user.active_sessions = [sess_id + for sess_id in current_user.active_sessions + if sess_id != sid] return redirect(url_for('account.active_sessions'))