diff --git a/scripts/python/md-split.py b/scripts/python/md-split.py index f2d2885..2403c6f 100755 --- a/scripts/python/md-split.py +++ b/scripts/python/md-split.py @@ -83,7 +83,7 @@ def process_code(read_filehandle, text_filehandle, line, linenum, sourcefile, co fenced = (line.strip() == '```') if fenced: try: - line = read_filehandle.next() + line = read_filehandle.readLine() linenum += 1 text_filehandle.write('\n') except StopIteration: