Skip to content

Commit

Permalink
[Arch] Remove redundant else: from while loop
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Oct 12, 2021
1 parent 7a5fb04 commit 17ebbd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Mod/Arch/ArchWall.py
Expand Up @@ -878,8 +878,7 @@ def execute(self,obj):
else:
cuts2.append(sh)
offset += (obj.BlockLength.Value + obj.Joint.Value)
else:
offset -= (edge.Length - obj.Joint.Value)
offset -= (edge.Length - obj.Joint.Value)

if isinstance(bplates,list):
bplates = bplates[0]
Expand Down

0 comments on commit 17ebbd1

Please sign in to comment.