make expression simpler

This commit is contained in:
Matthias committed 2022-01-21 02:12:40 +01:00
1 parent 9ed0a6fece
commit b3d031c473
1 file changed
+1 -1
+1 -1
View File
@@ -205,7 +205,7 @@ def ExportBom(part, fmt='csv', cascade=False, max_levels=None, parameter_data=Fa
supplier_parts_used.add(sp_part)
if sp_part.supplier and sp_part.supplier:
if sp_part.supplier:
supplier_name = sp_part.supplier.name
else:
supplier_name = ''