Compare commits
No commits in common. "main" and "Plugins73" have entirely different histories.
19
plugins.xml
19
plugins.xml
@ -1,19 +0,0 @@
|
||||
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||
<plugins>
|
||||
<pyqgis_plugin name="pluginsCenSavoie_v3" version="1.0.0">
|
||||
<description><![CDATA[Dépôt pour les extensiont QGIS du CEN Rhone-Alpes, sur GitHub.]]></description>
|
||||
<version>1.0.0</version>
|
||||
<qgis_minimum_version>3.16</qgis_minimum_version>
|
||||
<homepage>https://plateformesig.cenra-outils.org/</homepage>
|
||||
<file_name>pluginsCenSavoie_v3.zip</file_name>
|
||||
<icon>CEN-Rhone-Alpes.png</icon>
|
||||
<author_name>CEN-Rhone-Alpes</author_name>
|
||||
<download_url>https://gitea.cenra-outils.org/LaurentP/PLUGINS_QGIS/releases/download/latest/pluginsCenSavoie_v3.zip</download_url>
|
||||
<uploaded_by>CEN-Rhone-Alpes</uploaded_by>
|
||||
<create_date>2025-01-23</create_date>
|
||||
<update_date>2025-01-23</update_date>
|
||||
<experimental>False</experimental>
|
||||
<deprecated>False</deprecated>
|
||||
<tags>cen73,postgis</tags>
|
||||
</pyqgis_plugin>
|
||||
</plugins>
|
||||
BIN
pluginsCenSavoie_v3/.DS_Store
vendored
BIN
pluginsCenSavoie_v3/.DS_Store
vendored
Binary file not shown.
@ -60,7 +60,7 @@ class pluginsCenSavoie_v3:
|
||||
|
||||
def initGui(self):
|
||||
|
||||
if sys.platform in ('linux','darwin'):
|
||||
if sys.platform == 'linux':
|
||||
os_user = os.environ['USER']
|
||||
else:
|
||||
os_user = os.environ['USERNAME']
|
||||
|
||||
@ -69,7 +69,7 @@ class BackinMFU:
|
||||
global mdp_1st_cnx
|
||||
mdp_1st_cnx = bd_cen_mdp_1st_cnx
|
||||
global os_user
|
||||
if sys.platform in ('linux','darwin'):
|
||||
if sys.platform == 'linux':
|
||||
os_user = os.environ['USER']
|
||||
else:
|
||||
os_user = os.environ['USERNAME']
|
||||
|
||||
@ -66,7 +66,7 @@ class CreateSessionAF:
|
||||
global mdp_1st_cnx
|
||||
mdp_1st_cnx = bd_cen_mdp_1st_cnx
|
||||
global os_user
|
||||
if sys.platform in ('linux','darwin'):
|
||||
if sys.platform == 'linux':
|
||||
os_user = os.environ['USER']
|
||||
else:
|
||||
os_user = os.environ['USERNAME']
|
||||
|
||||
@ -65,7 +65,7 @@ class ParcelleToActe:
|
||||
global mdp_1st_cnx
|
||||
mdp_1st_cnx = bd_cen_mdp_1st_cnx
|
||||
global os_user
|
||||
if sys.platform in ('linux','darwin'):
|
||||
if sys.platform == 'linux':
|
||||
os_user = os.environ['USER']
|
||||
else:
|
||||
os_user = os.environ['USERNAME']
|
||||
|
||||
@ -65,7 +65,7 @@ class ParcelleToSite:
|
||||
global mdp_1st_cnx
|
||||
mdp_1st_cnx = bd_cen_mdp_1st_cnx
|
||||
global os_user
|
||||
if sys.platform in ('linux','darwin'):
|
||||
if sys.platform == 'linux':
|
||||
os_user = os.environ['USER']
|
||||
else:
|
||||
os_user = os.environ['USERNAME']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user