mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-30 00:31:09 +02:00
Teams must send their motivation letter
This commit is contained in:
@ -9,7 +9,7 @@ _client = None
|
||||
def get_sympa_client():
|
||||
global _client
|
||||
if _client is None:
|
||||
if os.getenv("SYMPA_PASSWORD", None) is not None: # pragma: no cover
|
||||
if os.getenv("SYMPA_PASSWORD", None): # pragma: no cover
|
||||
from sympasoap import Client
|
||||
_client = Client("https://" + os.getenv("SYMPA_URL"))
|
||||
_client.login(os.getenv("SYMPA_EMAIL"), os.getenv("SYMPA_PASSWORD"))
|
||||
|
Reference in New Issue
Block a user