From 87ef6248be39816df8a0ef9327c91a4196236330 Mon Sep 17 00:00:00 2001 From: rahul Date: Thu, 24 Oct 2019 10:37:01 +0530 Subject: changed library name and path --- src/createKicadLibrary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/createKicadLibrary.py') diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py index d229066..662f702 100644 --- a/src/createKicadLibrary.py +++ b/src/createKicadLibrary.py @@ -13,7 +13,7 @@ class AutoSchematic(QtGui.QWidget): self.template = Appconfig.kicad_lib_template self.xml_loc = Appconfig.xml_loc self.lib_loc = Appconfig.lib_loc - self.kicad_nghdl_lib = 'eSim_kicad.lib' + self.kicad_nghdl_lib = '/usr/share/kicad/library/eSim_Nghdl.lib' self.parser = Appconfig.parser_nghdl def createKicadLibrary(self): @@ -29,7 +29,7 @@ class AutoSchematic(QtGui.QWidget): elif (xmlFound == self.xml_loc + '/Nghdl'): print 'Library already exists...' ret = QtGui.QMessageBox.critical(self, "Critical",'''The Libraries of this model already exist.Do you want to overwrite it?
- If yes press ok else cancel it and change the name of your vhdl file''', QtGui.QMessageBox.Ok, QtGui.QMessageBox.Cancel) + If yes, press ok else cancel it and change the name of your vhdl file''', QtGui.QMessageBox.Ok, QtGui.QMessageBox.Cancel) if ret == QtGui.QMessageBox.Ok: print "Overwriting existing libraries" self.getPortInformation() -- cgit