Skip to content

Commit

Permalink
Small fix to long resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Nfsaavedra committed Oct 1, 2022
1 parent 16f2e79 commit 9e20659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glitch/analysis/design.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def check_atomicunit(self, au: AtomicUnit, file: str) -> list[Error]:

if au.type in DesignVisitor.__EXEC:
lines = 0
for line in au.code.split('\n')[1:-1]:
for line in au.code.split('\n'):
if line.strip() != "": lines += 1

if lines > 7:
Expand Down

0 comments on commit 9e20659

Please sign in to comment.