From 65357df648ea4c49af6664c2f2d14c07c41c7222 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 25 Apr 2022 00:27:41 +0200 Subject: [PATCH] PEP fix --- InvenTree/InvenTree/middleware.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/InvenTree/InvenTree/middleware.py b/InvenTree/InvenTree/middleware.py index 1e9ada3cfa..b679713b32 100644 --- a/InvenTree/InvenTree/middleware.py +++ b/InvenTree/InvenTree/middleware.py @@ -1,11 +1,8 @@ from django.shortcuts import HttpResponseRedirect from django.urls import reverse_lazy, Resolver404 -from django.db import connection from django.shortcuts import redirect from django.conf.urls import include, url import logging -import time -import operator from rest_framework.authtoken.models import Token from allauth_2fa.middleware import BaseRequire2FAMiddleware, AllauthTwoFactorMiddleware