Sécurity MAJ
This commit is contained in:
@@ -67,7 +67,6 @@ import glob
|
||||
from .tools.resources import (
|
||||
load_ui,
|
||||
resources_path,
|
||||
login_base,
|
||||
send_issues,
|
||||
)
|
||||
from .issues import CenRa_Issues
|
||||
|
||||
@@ -70,7 +70,6 @@ from .tools.PythonSQL import *
|
||||
from .tools.resources import (
|
||||
load_ui,
|
||||
resources_path,
|
||||
login_base,
|
||||
send_issues,
|
||||
)
|
||||
from .issues import CenRa_Issues
|
||||
|
||||
Binary file not shown.
@@ -107,6 +107,7 @@ def load_ui(*args):
|
||||
|
||||
return ui_class
|
||||
|
||||
'''
|
||||
def login_base(take=None):
|
||||
from CenRa_METABASE.tools.PythonSQL import host,port,dbname,password,os_user
|
||||
first_conn = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=first_cnx password=" + password)
|
||||
@@ -126,6 +127,7 @@ def login_base(take=None):
|
||||
return cur,con
|
||||
else:
|
||||
return cur
|
||||
'''
|
||||
def send_issues(url,titre,body,labels):
|
||||
import requests
|
||||
import json
|
||||
|
||||
Reference in New Issue
Block a user