From aad0e0cdff74e4eb30109d6d8cda186b0dc21b77 Mon Sep 17 00:00:00 2001 From: ziirish Date: Wed, 16 May 2018 18:12:15 +0200 Subject: [PATCH] lint --- burpui/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/burpui/routes.py b/burpui/routes.py index 9511ccff..f2275d6a 100644 --- a/burpui/routes.py +++ b/burpui/routes.py @@ -281,7 +281,7 @@ def live_monitor(server=None, name=None): flash(_('Sorry, there are no running backups'), 'warning') return redirect(url_for('.home')) else: - if not any([x for _, x in iteritems(running)]): + if not any([x for y, x in iteritems(running)]): flash(_('Sorry, there are no running backups'), 'warning') return redirect(url_for('.home')) -- GitLab