Skip to content

Commit

Permalink
RawFile.py: improve fix PySpice-org#352
Browse files Browse the repository at this point in the history
  • Loading branch information
cyber-g committed Sep 12, 2023
1 parent 5e3eb55 commit 62abb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PySpice/Spice/NgSpice/RawFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _read_header(self, stdout):
header_line_iterator = iter(header_lines)

try:
self._read_header_field_line(header_line_iterator, 'Note', has_value=False)
self.note = self._read_header_field_line(header_line_iterator, 'Note')
except Exception as e:
if 'No compatibility mode selected' in str(e):
# Reset iterator
Expand Down

0 comments on commit 62abb62

Please sign in to comment.