Performance optimisée hors connexion

This commit is contained in:
2026-05-21 08:36:37 +02:00
parent eae3a80f31
commit def79fdaa9
5 changed files with 20 additions and 14 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ from qgis.PyQt import QtCore, QtGui
from qgis.PyQt.QtCore import QSettings
from qgis.PyQt import QtWidgets
from qgis.PyQt.QtGui import QIcon
import os
from qgis.core import (
QgsDataSourceUri,
@@ -37,7 +38,8 @@ from .tools.resources import (
resources_path,
)
try:
from .tools.PythonSQL import login_base
if os.path.exists('N:'):
from .tools.PythonSQL import login_base
except NameError:
print('Pas de fichier PythonSQL')