Performance optimisée hors connexion
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user