Label: Fixed missing var init
This commit is contained in:
parent
2f6aca3c0d
commit
05b117b662
|
@ -98,6 +98,7 @@ class ContainerPrintLabelView(LoginRequiredMixin, generic.DetailView):
|
||||||
container_description = self.object.container_type.named_id
|
container_description = self.object.container_type.named_id
|
||||||
if len(self.object.container_type.description) > 0:
|
if len(self.object.container_type.description) > 0:
|
||||||
container_description += ': ' + self.object.container_type.description
|
container_description += ': ' + self.object.container_type.description
|
||||||
|
container_description_line2 = ''
|
||||||
if len(self.object.description) > 0:
|
if len(self.object.description) > 0:
|
||||||
container_description_line2 = self.object.description
|
container_description_line2 = self.object.description
|
||||||
label_image = container_label(
|
label_image = container_label(
|
||||||
|
|
Loading…
Reference in New Issue