Skip to content

Commit cf57144

Browse files
tiny fix to allow also # without subsequent whitespace as a remark in the text database
1 parent 7648cd7 commit cf57144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smodels/experiment/infoObj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, path=None):
4545
for i, tag in enumerate(tags):
4646
if not tag:
4747
continue
48-
if tag.startswith("# "): # a comment!
48+
if tag.startswith("#"): # a comment!
4949
continue
5050
line = content[i]
5151
value = line.split(':', 1)[1].strip()

0 commit comments

Comments
 (0)