From 05b117b66223ae58eca9a9f652c94451f8d01b43 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Fri, 20 May 2022 06:48:30 +0200 Subject: [PATCH] Label: Fixed missing var init --- container/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/container/views.py b/container/views.py index a8698d2..ee9c7fd 100644 --- a/container/views.py +++ b/container/views.py @@ -98,6 +98,7 @@ class ContainerPrintLabelView(LoginRequiredMixin, generic.DetailView): container_description = self.object.container_type.named_id if len(self.object.container_type.description) > 0: container_description += ': ' + self.object.container_type.description + container_description_line2 = '' if len(self.object.description) > 0: container_description_line2 = self.object.description label_image = container_label(