summaryrefslogtreecommitdiff
path: root/src/subcircuit/uploadSub.py
diff options
context:
space:
mode:
authorrahulp132020-02-14 15:16:35 +0530
committerrahulp132020-02-14 15:16:35 +0530
commitcb55e59de7ee4383c04edfae7c39ad9ae9552b36 (patch)
treede1b292a10e8196689bf1a208fe6fe32f4618846 /src/subcircuit/uploadSub.py
parent08d4a0336550a0e610709970a0c5d366e109fe82 (diff)
downloadeSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.gz
eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.bz2
eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.zip
common code for Win and Linux, merged py2 changes
Diffstat (limited to 'src/subcircuit/uploadSub.py')
-rw-r--r--src/subcircuit/uploadSub.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/subcircuit/uploadSub.py b/src/subcircuit/uploadSub.py
index 00cc9df0..34ec8c33 100644
--- a/src/subcircuit/uploadSub.py
+++ b/src/subcircuit/uploadSub.py
@@ -50,10 +50,11 @@ class UploadSub(QtGui.QWidget):
if not valid:
self.msg = QtGui.QErrorMessage(self)
self.msg.showMessage(
- "Content of file does not meet the required format.\
- Please ensure that file starts with **.subckt \
- " + create_subcircuit + "** and ends with **.ends \
- " + create_subcircuit + "**")
+ "Content of file does not meet the required format. " +
+ "Please ensure that file starts with **.subckt " +
+ create_subcircuit + " ** and ends with **.ends " +
+ create_subcircuit + " **"
+ )
self.msg.setWindowTitle("Error Message")
print("Invalid file format")
return
@@ -80,8 +81,8 @@ class UploadSub(QtGui.QWidget):
print("==========================")
msg = QtGui.QErrorMessage(self)
msg.showMessage(
- "The project already exist. Please select \
- the different name or delete existing project")
+ "The project already exist. Please select "
+ "a different name or delete existing project")
msg.setWindowTitle("Error Message")
elif reply == "CHECKNAME":