diff options
author | euanc <ecochrane@gmail.com> | 2016-05-16 09:58:36 -0400 |
---|---|---|
committer | euanc <ecochrane@gmail.com> | 2016-05-16 09:58:36 -0400 |
commit | 9069537bff03c999015faede805b3332ac1e97d4 (patch) | |
tree | 183be2cb524ad564151174f109450308f737fa51 | |
parent | d4cfe401ab9a814511d548ce138801010a87465a (diff) | |
download | DiskFormatID-9069537bff03c999015faede805b3332ac1e97d4.zip DiskFormatID-9069537bff03c999015faede805b3332ac1e97d4.tar.gz DiskFormatID-9069537bff03c999015faede805b3332ac1e97d4.tar.bz2 |
fixed references to ""spath"" to "spath"
-rw-r--r-- | chooseFormats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chooseFormats.py b/chooseFormats.py index 5a753bf..0dd1dc4 100644 --- a/chooseFormats.py +++ b/chooseFormats.py @@ -94,7 +94,7 @@ class addTypes(QtGui.QMainWindow, chooseFormatsGUI.Ui_addTypes): pass #write back the remaining json jsoutput = json.dumps(settings) - outfile = open("spath", 'w') + outfile = open(spath, 'w') outfile.write(jsoutput) outfile.close() @@ -155,7 +155,7 @@ class addTypes(QtGui.QMainWindow, chooseFormatsGUI.Ui_addTypes): settings["outputFormats"] = [diskSetting] #Clear the json file and write back the updated json jsoutput = json.dumps(settings) - outfile = open("spath", 'w') + outfile = open(spath, 'w') outfile.write(jsoutput) outfile.close() self.settingsDisplay.clear() @@ -206,7 +206,7 @@ class addTypes(QtGui.QMainWindow, chooseFormatsGUI.Ui_addTypes): #now write this all back settings = {"outputFormats":[diskSetting]} jsoutput = json.dumps(settings) - outfile = open("spath", 'w') + outfile = open(spath, 'w') outfile.write(jsoutput) outfile.close() self.settingsDisplay.clear() |