diff --git a/PySpice/Spice/NgSpice/Shared.py b/PySpice/Spice/NgSpice/Shared.py index d6f68322..0d9081c8 100644 --- a/PySpice/Spice/NgSpice/Shared.py +++ b/PySpice/Spice/NgSpice/Shared.py @@ -623,7 +623,7 @@ def _send_char(message_c, ngspice_id, user_data): func = self._logger.info elif content.startswith('Error: bad set form in line'): func = self._logger.info # TODO: Make sure there are actually no consequences from this - elif content.startswith('Warning:'): + elif 'Warning:' in content: func = self._logger.warning elif 'Note:' in content: func = self._logger.info