Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a9dfed5e authored by GARNIER Laurent's avatar GARNIER Laurent
Browse files

Update allgo/__init__.py

parent cb0619cc
No related branches found
No related tags found
1 merge request!7Jupyter token 2021
...@@ -121,6 +121,7 @@ class Init: ...@@ -121,6 +121,7 @@ class Init:
# Try to communicate with Allgo # Try to communicate with Allgo
try: try:
print("Try to connect to the allgo API instance: "+API_parameters['allgo_instance']) print("Try to connect to the allgo API instance: "+API_parameters['allgo_instance'])
print(API_parameters)
r = requests.get(API_parameters['allgo_instance']+str("/api/v1/notebook/validate_token/__faketoken__"), params=None,verify=True) r = requests.get(API_parameters['allgo_instance']+str("/api/v1/notebook/validate_token/__faketoken__"), params=None,verify=True)
try: try:
r.raise_for_status() r.raise_for_status()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment