From 7a102dcd8ebb9c9428e3970445006a4a74855de2 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 03:22:43 +0200 Subject: [PATCH] PEP fix --- InvenTree/plugin/base/event/events.py | 2 -- InvenTree/plugin/base/label/label.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/InvenTree/plugin/base/event/events.py b/InvenTree/plugin/base/event/events.py index e23fc7fbdc..59dfdce86a 100644 --- a/InvenTree/plugin/base/event/events.py +++ b/InvenTree/plugin/base/event/events.py @@ -7,8 +7,6 @@ from __future__ import unicode_literals import logging -from django.utils.translation import gettext_lazy as _ - from django.conf import settings from django.db import transaction from django.db.models.signals import post_save, post_delete diff --git a/InvenTree/plugin/base/label/label.py b/InvenTree/plugin/base/label/label.py index 52e0b57c1e..7f29ba70f4 100644 --- a/InvenTree/plugin/base/label/label.py +++ b/InvenTree/plugin/base/label/label.py @@ -4,6 +4,7 @@ import logging from django.utils.translation import gettext_lazy as _ from plugin.registry import registry +import common.notifications logger = logging.getLogger('inventree')