mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +00:00
style fixing
This commit is contained in:
1 parent
3a5b4ab74b
commit
508099e536
1 file changed
+1
-1
@@ -781,7 +781,7 @@ class PartImport(FileManagementFormView):
|
|||||||
|
|
||||||
if idx in self.file_manager.OPTIONAL_MATCH_HEADERS:
|
if idx in self.file_manager.OPTIONAL_MATCH_HEADERS:
|
||||||
try:
|
try:
|
||||||
exact_match = self.allowed_items[idx].get(**{a:data for a in self.matches[idx]})
|
exact_match = self.allowed_items[idx].get(**{a: data for a in self.matches[idx]})
|
||||||
except (ValueError, self.allowed_items[idx].model.DoesNotExist, self.allowed_items[idx].model.MultipleObjectsReturned):
|
except (ValueError, self.allowed_items[idx].model.DoesNotExist, self.allowed_items[idx].model.MultipleObjectsReturned):
|
||||||
exact_match = None
|
exact_match = None
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user