summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/KicadtoNgspice.py
diff options
context:
space:
mode:
authornilshah982019-06-07 19:25:00 +0530
committernilshah982019-06-13 16:11:14 +0530
commit8d628dc33e1190dd1f8827bbd26f998d31d0827a (patch)
tree4e4b7875a125b9e209b6ef09336a30a6470add11 /src/kicadtoNgspice/KicadtoNgspice.py
parent89c637c341a281d31ccd63be65a3504d6db79882 (diff)
downloadeSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.tar.gz
eSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.tar.bz2
eSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.zip
projectExplorer made pep8 compliant
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r--src/kicadtoNgspice/KicadtoNgspice.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py
index 19f3ffe2..ef9201cb 100644
--- a/src/kicadtoNgspice/KicadtoNgspice.py
+++ b/src/kicadtoNgspice/KicadtoNgspice.py
@@ -484,8 +484,7 @@ class MainWindow(QtGui.QWidget):
for key, value in line[7].items():
if(
hasattr(value, '__iter__') and
- i <= end and type(value) is not
- str
+ i <= end and not isinstance(value, str)
):
for item in value:
fields = {