Skip to content

Commit 5e32b18

Browse files
authored
Merge pull request carpentries/styles#593
bin/lesson_check.py: use proper function
2 parents 6d5b41e + d3e11ab commit 5e32b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/lesson_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def read_references(reporter, ref_path):
228228
for (num, line) in enumerate(reader, 1):
229229

230230
# Skip empty lines
231-
if length(line.strip()) == 0:
231+
if len(line.strip()) == 0:
232232
continue
233233

234234
# Skip HTML comments

0 commit comments

Comments
 (0)