Téléverser les fichiers vers "CenRa_Metabase/resources"
This commit is contained in:
parent
4c62cef083
commit
8f3512aaa2
@ -116,8 +116,7 @@ def login_base(take=None):
|
|||||||
mdp = base64.b64decode(str(res_ident[0])).decode('utf-8')
|
mdp = base64.b64decode(str(res_ident[0])).decode('utf-8')
|
||||||
user = res_ident[1]
|
user = res_ident[1]
|
||||||
|
|
||||||
#con = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=" + user + " password=" + mdp)
|
con = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=" + user + " password=" + mdp)
|
||||||
con = psycopg2.connect("host=" + '100.100.100.81' + " port=" + port + " dbname="+'postgres'+" user=" + 'tlaveille' + " password=" + 'tlaveille')
|
|
||||||
cur = con.cursor(cursor_factory = psycopg2.extras.DictCursor)
|
cur = con.cursor(cursor_factory = psycopg2.extras.DictCursor)
|
||||||
first_conn.close()
|
first_conn.close()
|
||||||
|
|
||||||
@ -147,8 +146,6 @@ def send_issues(url,titre,body,labels):
|
|||||||
def maj_verif(NAME):
|
def maj_verif(NAME):
|
||||||
import qgis
|
import qgis
|
||||||
import urllib
|
import urllib
|
||||||
from qgis.utils import iface
|
|
||||||
from qgis.core import Qgis
|
|
||||||
|
|
||||||
url = qgis.utils.pluginMetadata(NAME,'repository')
|
url = qgis.utils.pluginMetadata(NAME,'repository')
|
||||||
URL = url+'/raw/branch/main/plugins.xml'
|
URL = url+'/raw/branch/main/plugins.xml'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user