diff options
Diffstat (limited to 'src/kicadtoNgspice/Convert.py')
-rw-r--r-- | src/kicadtoNgspice/Convert.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py index 725a6909..76b6ba57 100644 --- a/src/kicadtoNgspice/Convert.py +++ b/src/kicadtoNgspice/Convert.py @@ -443,8 +443,8 @@ class Convert: default = 0 # Cheking if value is iterable.its for vector if ( - hasattr(value, '__iter__') and - type(value) is not str + type(value) is not str and + hasattr(value, '__iter__') ): addmodelLine += param + "=[" for lineVar in value: |