diff options
author | Sumanto Kar | 2023-09-02 20:14:44 +0530 |
---|---|---|
committer | GitHub | 2023-09-02 20:14:44 +0530 |
commit | 583043e038a6c4a30352b86e25e88b1bd0e70f64 (patch) | |
tree | 3126a54e4e0dcdc534970d4774b60ce2226b8031 /src/maker/createkicad.py | |
parent | 9dfa8fc60df73549735d7347e1bfbe356a27edf5 (diff) | |
download | eSim-583043e038a6c4a30352b86e25e88b1bd0e70f64.tar.gz eSim-583043e038a6c4a30352b86e25e88b1bd0e70f64.tar.bz2 eSim-583043e038a6c4a30352b86e25e88b1bd0e70f64.zip |
Removed extra ')' appearing at the end of .kicad_sym file
Diffstat (limited to 'src/maker/createkicad.py')
-rw-r--r-- | src/maker/createkicad.py | 4 |
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) |