Skip to content

Commit d6d99d1

Browse files
authored
Merge pull request #108 from minkyu-p/patch-1
Add # as an indicator of comments in addition to !
2 parents fc412b5 + 2027f55 commit d6d99d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tbmodels/_tb_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@ def _read_win(iterator):
806806
and returns a mapping of its content.
807807
"""
808808
lines = (l.split("!")[0] for l in iterator)
809+
lines = (l.split("#")[0] for l in lines)
809810
lines = (l.strip() for l in lines)
810811
lines = (l for l in lines if l)
811812
lines = (l.lower() for l in lines)

0 commit comments

Comments
 (0)