Skip to content

Commit

Permalink
BIM: remove filename assignment from tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
furgo16 authored Feb 10, 2025
1 parent 8938c92 commit 17513f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Mod/BIM/bimcommands/BimTDPage.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def Activated(self):
"SVG file (*.svg)",
)
if filename:

Check warning on line 66 in src/Mod/BIM/bimcommands/BimTDPage.py

View workflow job for this annotation

GitHub Actions / Lint / Lint

Too many nested blocks (6/5) (too-many-nested-blocks)
filename = filename[0]
name = os.path.splitext(os.path.basename(filename))[0]
FreeCAD.ActiveDocument.openTransaction("Create page")
page = FreeCAD.ActiveDocument.addObject("TechDraw::DrawPage", "Page")
Expand Down

0 comments on commit 17513f3

Please sign in to comment.