Skip to content

Commit

Permalink
fix parsing of events None when converting to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Nov 6, 2023
1 parent f561029 commit e811134
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sarracenia/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2615,8 +2615,11 @@ def convert(self):
line[0] = k

if k in [ 'logEvents', 'fileEvents' ]: # set option semantics changed as per https://github.com/MetPX/sarracenia/issues/608
line[1]= '+' + line[1]
v=line[1]
if 'none' in line[1].lower():
v=line[1]
else:
line[1]= '+' + line[1]
v=line[1]

if k == 'continue':
continue
Expand Down

0 comments on commit e811134

Please sign in to comment.