summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/maker/createkicad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maker/createkicad.py b/src/maker/createkicad.py
index 0ce239a0..3f30e835 100644
--- a/src/maker/createkicad.py
+++ b/src/maker/createkicad.py
@@ -166,7 +166,7 @@ class AutoSchematic:
sym_file = open(self.kicad_ngveri_sym)
lines = sym_file.readlines()
sym_file.close()
-
+ lines = lines[0:-2]
output = []
line_reading_flag = False
@@ -199,7 +199,7 @@ class AutoSchematic:
# Removing ")" from "eSim_Ngveri.kicad_sym"
file = open(self.kicad_ngveri_sym, "r")
content_file = file.read()
- new_content_file = content_file[:-1]
+ new_content_file = content_file[:-2]
file.close()
file = open(self.kicad_ngveri_sym, "w")
file.write(new_content_file)