summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Convert.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-14 10:38:23 +0530
committerGitHub2019-06-14 10:38:23 +0530
commitfd265d087ff6dc7a09df400b165043e61bb7d0c0 (patch)
tree2d08a48bcc268154c5e0f25f4c3e94d0ac9e4f7f /src/kicadtoNgspice/Convert.py
parentcfc34bb19977e738582620802415ccde27a03039 (diff)
parent1d4ee6b6c1254657c497673838922e746f339eca (diff)
downloadeSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.tar.gz
eSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.tar.bz2
eSim-fd265d087ff6dc7a09df400b165043e61bb7d0c0.zip
Merge pull request #77 from nilshah98/clean
Bugs resolved and minor fixes
Diffstat (limited to 'src/kicadtoNgspice/Convert.py')
-rw-r--r--src/kicadtoNgspice/Convert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/Convert.py b/src/kicadtoNgspice/Convert.py
index 76b6ba57..8280f9e7 100644
--- a/src/kicadtoNgspice/Convert.py
+++ b/src/kicadtoNgspice/Convert.py
@@ -443,7 +443,7 @@ class Convert:
default = 0
# Cheking if value is iterable.its for vector
if (
- type(value) is not str and
+ not isinstance(value, str) and
hasattr(value, '__iter__')
):
addmodelLine += param + "=["