Minor changes

This commit is contained in:
Ludger Küperkoch 2017-03-28 16:51:10 +02:00
parent fe7bae50e6
commit 2dd815fb2b

View File

@ -80,8 +80,7 @@ class MainWindow(QMainWindow):
# check for default pylot.in-file # check for default pylot.in-file
infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in') infile = os.path.join(os.path.expanduser('~'), '.pylot', 'pylot.in')
if os.path.isfile(infile)== False: if os.path.isfile(infile)== False:
infile = QInputDialog.getText(self, "Default input file not found! \ infile = QInputDialog.getText(self, "Enter input-file name including full path:",
Enter file name including full path:",
"infile") "infile")
self.infile = infile[0] self.infile = infile[0]
else: else: