From d5cf9cba564d4f11f6870681e1d5fdd08c65c334 Mon Sep 17 00:00:00 2001 From: Emanuele Date: Thu, 10 Sep 2020 16:03:09 +0200 Subject: [PATCH] modificate librerie in moduli --- SPEx/.env | 1 - SPEx/spex/guimain.py | 6 +++--- SPEx/spex/userInterface/__init__.py | 0 SPEx/spex/userInterface/compiledUI/__init__.py | 0 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 SPEx/.env create mode 100644 SPEx/spex/userInterface/__init__.py create mode 100644 SPEx/spex/userInterface/compiledUI/__init__.py diff --git a/SPEx/.env b/SPEx/.env deleted file mode 100644 index 13452f2..0000000 --- a/SPEx/.env +++ /dev/null @@ -1 +0,0 @@ -PYTHONPATH = "${workspaceFolder}/spex/libbananasplit;${workspaceFolder}/spex/userInterface/compiledUI" diff --git a/SPEx/spex/guimain.py b/SPEx/spex/guimain.py index 83af685..4b59969 100644 --- a/SPEx/spex/guimain.py +++ b/SPEx/spex/guimain.py @@ -227,9 +227,9 @@ class bananaTitolo(PyQt5.QtWidgets.QWidget): # imposta predefiniti interfaccia da file #Data (la piu complicata) self.titoloui.chk_data.setChecked(self.conf.getParam('docStruct','outDate')) - self.titoloui.rad_datajpn.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'jpn') - self.titoloui.rad_dataita.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'it') - self.titoloui.rad_datausa.setChecked(self.conf.getParam('docStruct', 'outDateType') is 'usa') + self.titoloui.rad_datajpn.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'jpn') + self.titoloui.rad_dataita.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'it') + self.titoloui.rad_datausa.setChecked(self.conf.getParam('docStruct', 'outDateType') == 'usa') #Titolo self.titoloui.chk_titolo.setChecked(self.conf.getParam('docStruct','outTitle')) self.titoloui.spn_ncarat.setValue(self.conf.getParam('docStruct', 'maxTitleLen')) diff --git a/SPEx/spex/userInterface/__init__.py b/SPEx/spex/userInterface/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/SPEx/spex/userInterface/compiledUI/__init__.py b/SPEx/spex/userInterface/compiledUI/__init__.py new file mode 100644 index 0000000..e69de29