mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 22:08:49 +00:00
PEP fix
This commit is contained in:
parent
5963f7ed01
commit
6c73649687
@ -8,7 +8,6 @@ from __future__ import unicode_literals
|
|||||||
from InvenTree.forms import HelperForm
|
from InvenTree.forms import HelperForm
|
||||||
|
|
||||||
from django import forms
|
from django import forms
|
||||||
from django.core.validators import MinValueValidator
|
|
||||||
|
|
||||||
from .models import Part, PartCategory, PartAttachment
|
from .models import Part, PartCategory, PartAttachment
|
||||||
from .models import BomItem
|
from .models import BomItem
|
||||||
|
@ -982,7 +982,6 @@ class BomUpload(FormView):
|
|||||||
if valid:
|
if valid:
|
||||||
# Try to extract meaningful data
|
# Try to extract meaningful data
|
||||||
self.preFillSelections()
|
self.preFillSelections()
|
||||||
form = None
|
|
||||||
self.template_name = 'part/bom_upload/select_parts.html'
|
self.template_name = 'part/bom_upload/select_parts.html'
|
||||||
else:
|
else:
|
||||||
self.template_name = 'part/bom_upload/select_fields.html'
|
self.template_name = 'part/bom_upload/select_fields.html'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user