Label: Fixed missing var init

This commit is contained in:
Dirk Jahnke 2022-05-20 06:48:30 +02:00
parent 2f6aca3c0d
commit 05b117b662
1 changed files with 1 additions and 0 deletions

View File

@ -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(