From 5ab8beecefa601a37892737340ac1075a465b488 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 5 May 2021 19:13:16 +0200 Subject: [PATCH] Use _ prefix for ignored loop variable --- apps/treasury/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/treasury/views.py b/apps/treasury/views.py index 08f190c2..c18f8d3b 100644 --- a/apps/treasury/views.py +++ b/apps/treasury/views.py @@ -210,7 +210,7 @@ class InvoiceRenderView(LoginRequiredMixin, View): del tex # The file has to be rendered twice - for ignored in range(2): + for _ignored in range(2): error = subprocess.Popen( ["/usr/bin/xelatex", "-interaction=nonstopmode", "invoice-{}.tex".format(pk)], cwd=tmp_dir,