Réorganisiont du code

This commit is contained in:
2024-10-22 14:23:20 +02:00
parent 801843fc0e
commit 675f964145
45 changed files with 1461 additions and 5616 deletions
+1 -3
View File
@@ -55,7 +55,7 @@ import requests
import base64
ssl._create_default_https_context = ssl._create_unverified_context
from PyQt5 import QtGui
from .tools.resources import maj_verif
from .tools.PythonSQL import *
first_conn = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=first_cnx password=" + password)
@@ -137,7 +137,6 @@ class FluxCEN:
self.plugin_dir,
'i18n',
'FluxCEN_{}.qm'.format(locale))
version = qgis.utils.pluginMetadata('CenRa_FLUX','version')
# Display About window on first use
s = QSettings()
@@ -155,7 +154,6 @@ class FluxCEN:
self.actions = []
self.menu = self.tr(u'&FluxCEN')
self.dlg = FluxCENDialog()
self.plugin_path = os.path.dirname(__file__)
# Check if plugin was started the first time in current QGIS session