Fixed flake8 errors

This commit is contained in:
Salvador E. Tropea 2021-12-02 17:37:33 -03:00
parent 84d6217d18
commit 9885270f56
1 changed files with 1 additions and 2 deletions

View File

@ -116,7 +116,7 @@ class Base3DOptions(VariantOptions):
models_l.append(models.pop())
# Look for all the 3D models for this footprint
for m3d in models_l:
if m3d.m_Filename.endswith(DISABLE_TEXT):
if m3d.m_Filename.endswith(DISABLE_TEXT):
# Skip models we intentionally disabled using a bogus name
continue
full_name = KiConf.expand_env(m3d.m_Filename)
@ -218,7 +218,6 @@ class Base3DOptions(VariantOptions):
# Push it back to the module
models.push_back(m3d)
def filter_components(self, dir):
self.undo_3d_models_rep = {}
if not self._comps: