Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,7 @@ def main():
|
|
50 |
|
51 |
if st.button('Connexion'):
|
52 |
try:
|
53 |
-
|
54 |
-
client = pronotepy.Client("https://0952236p.index-education.net/pronote/eleve.html", "leny.levant", "Leny15@0", val_doise)
|
55 |
if client.logged_in:
|
56 |
st.session_state.client = client
|
57 |
st.experimental_rerun()
|
|
|
50 |
|
51 |
if st.button('Connexion'):
|
52 |
try:
|
53 |
+
client = pronotepy.Client(url, username, password, getattr(pronotepy.ent, cas, None))
|
|
|
54 |
if client.logged_in:
|
55 |
st.session_state.client = client
|
56 |
st.experimental_rerun()
|