summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Model.py
diff options
context:
space:
mode:
authornilshah982019-06-11 19:48:44 +0530
committernilshah982019-06-13 12:15:50 +0530
commit03c61330512ccbac9663dbc20d09bda0a5151dec (patch)
treeb090edf4b1e35a92fc7336fde2d6c75ef76b2a1f /src/kicadtoNgspice/Model.py
parent9cee4f091edb7c7b1b06362f6bf2cba28c3fe9ba (diff)
downloadeSim-03c61330512ccbac9663dbc20d09bda0a5151dec.tar.gz
eSim-03c61330512ccbac9663dbc20d09bda0a5151dec.tar.bz2
eSim-03c61330512ccbac9663dbc20d09bda0a5151dec.zip
type before attr, whitespace after .py
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r--src/kicadtoNgspice/Model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py
index dc94d9de..eb1793f9 100644
--- a/src/kicadtoNgspice/Model.py
+++ b/src/kicadtoNgspice/Model.py
@@ -62,7 +62,7 @@ class Model(QtGui.QWidget):
# print "Key : ",key
# print "Value : ",value
# Check if value is iterable
- if hasattr(value, '__iter__') and type(value) is not str:
+ if type(value) is not str and hasattr(value, '__iter__'):
# For tag having vector value
temp_tag = []
for item in value: