seguono modifiche al main per test parametri nuovo file di
configurazione
This commit is contained in:
@@ -71,12 +71,12 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
|
||||
def openLoadPreset(self):
|
||||
self.logger.debug("Apri Carica Preset")
|
||||
self.logger.debug(str(self.conf.getParam('splitter','paths')))
|
||||
self.logger.debug(str(self.conf.getParam('paths')))
|
||||
pass
|
||||
|
||||
def openSavePreset(self):
|
||||
self.logger.debug("Apri Salva Preset")
|
||||
self.logger.debug(str(self.conf.setParam("pippo", 'splitter','paths', 'INworkPath')))
|
||||
self.logger.debug(str(self.conf.setParam("pippo",'paths', 'INworkPath')))
|
||||
pass
|
||||
|
||||
def openAdvOpt(self):
|
||||
|
||||
@@ -82,7 +82,7 @@ class bananaCONF(object):
|
||||
def setParam(self, val, *keys):
|
||||
sv = self.settingsList[self.inUse]
|
||||
for k in keys:
|
||||
sv = sv[k]
|
||||
sv = *sv[k]
|
||||
sv = val
|
||||
pass
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"version": "v1.1a",
|
||||
"splitter": {
|
||||
"name": "",
|
||||
"paths": {
|
||||
"INworkPath": "D:\\Emanuele\\Documenti\\workspace\\bananaSPLIT\\TestFiles\\",
|
||||
"OUTworkPath": "H:\\",
|
||||
@@ -75,4 +73,3 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user