Try again without confusing Tcl and python syntax. . .

This commit is contained in:
Tim Edwards 2020-05-29 11:27:16 -04:00
parent c16ae32e70
commit 0b17bcdb86
1 changed files with 3 additions and 3 deletions

View File

@ -15,9 +15,9 @@ global Opts
proc readspice {netfile} {
if {[file ext $netfile] == ".cdl"} {
is_cdl = true
set is_cdl true
} else {
is_cdl = false
set is_cdl false
}
if [catch {open $netfile r} fnet] {
@ -40,7 +40,7 @@ proc readspice {netfile} {
puts stderr "Error: Can't read netlist file $netfile"
return 1;
} else {
is_cdl = true
set is_cdl true
}
}
}