From af4fe5b34e291cfe3bb1dadb967a8a049bf9ee64 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Wed, 16 Dec 2020 00:44:00 +0530 Subject: flake8 compliant --- src/createKicadLibrary.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/createKicadLibrary.py') diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py index e98d0d0..eed8f6d 100644 --- a/src/createKicadLibrary.py +++ b/src/createKicadLibrary.py @@ -36,8 +36,8 @@ class AutoSchematic(QtWidgets.QWidget): elif (xmlFound == os.path.join(self.xml_loc, 'Nghdl')): print('Library already exists...') ret = QtWidgets.QMessageBox.warning( - self.parent, "Warning", '''Library files for this model ''' + - '''already exist. Do you want to overwrite it?
+ self.parent, "Warning", '''Library files for 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.''', QtWidgets.QMessageBox.Ok, QtWidgets.QMessageBox.Cancel @@ -54,9 +54,9 @@ class AutoSchematic(QtWidgets.QWidget): else: print('Pre existing library...') ret = QtWidgets.QMessageBox.critical( - self.parent, "Error", '''A standard library already exists ''' + - '''with this name.
Please change the name ''' + - '''of your vhdl file and upload it again''', + self.parent, "Error", '''A standard library already ''' + + '''exists with this name.
Please change the ''' + + '''name of your vhdl file and upload it again''', QtWidgets.QMessageBox.Ok ) -- cgit