Skip to content

Commit

Permalink
minibn: support for comments in .bnet rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Jun 8, 2022
1 parent 6116fb3 commit 96dc97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colomoto/minibn.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ def inputs(self):
def import_data(self, data):
header = None
for line in data:
line = line.strip()
if not line or line.startswith("#"):
line = line.split("#")[0].strip()
if not line:
continue
sep = line.find("<-")
if sep < 0:
Expand Down

0 comments on commit 96dc97e

Please sign in to comment.