forked from ScoDoc/DocScoDoc
Fix: operator priority
This commit is contained in:
parent
28f266fac6
commit
2244f29c33
@ -256,8 +256,8 @@ def apo_table_compare_etud_results(A, B):
|
|||||||
"prenom": "Prénom",
|
"prenom": "Prénom",
|
||||||
"elt_code": "Element",
|
"elt_code": "Element",
|
||||||
"type_res": "Type",
|
"type_res": "Type",
|
||||||
"val_A": "A: %s" % A.orig_filename or "",
|
"val_A": "A: %s" % (A.orig_filename or ""),
|
||||||
"val_B": "B: %s" % B.orig_filename or "",
|
"val_B": "B: %s" % (B.orig_filename or ""),
|
||||||
},
|
},
|
||||||
columns_ids=("nip", "nom", "prenom", "elt_code", "type_res", "val_A", "val_B"),
|
columns_ids=("nip", "nom", "prenom", "elt_code", "type_res", "val_A", "val_B"),
|
||||||
html_class="table_leftalign",
|
html_class="table_leftalign",
|
||||||
|
@ -1116,7 +1116,7 @@ def formsemestre_tableau_modules(
|
|||||||
prev_ue_id = None
|
prev_ue_id = None
|
||||||
for modimpl in modimpls:
|
for modimpl in modimpls:
|
||||||
mod = Module.query.get(modimpl["module_id"])
|
mod = Module.query.get(modimpl["module_id"])
|
||||||
mod_descr = "Module " + mod.titre or ""
|
mod_descr = "Module " + (mod.titre or "")
|
||||||
if mod.is_apc():
|
if mod.is_apc():
|
||||||
coef_descr = ", ".join(
|
coef_descr = ", ".join(
|
||||||
[f"{ue_acro}: {co}" for ue_acro, co in mod.ue_coefs_descr()]
|
[f"{ue_acro}: {co}" for ue_acro, co in mod.ue_coefs_descr()]
|
||||||
|
@ -128,7 +128,7 @@ class MyHttpRequestHandler(http.server.SimpleHTTPRequestHandler):
|
|||||||
)
|
)
|
||||||
self.send_response(404)
|
self.send_response(404)
|
||||||
return
|
return
|
||||||
elif "getPhoto" in self.path or "scodocPhoto" in self.path:
|
elif ("getPhoto" in self.path) or ("scodocPhoto" in self.path):
|
||||||
nip = query_components["nip"][0]
|
nip = query_components["nip"][0]
|
||||||
self.path = str(get_photo_filename(nip))
|
self.path = str(get_photo_filename(nip))
|
||||||
print(f"photo for nip={nip}: {self.path}")
|
print(f"photo for nip={nip}: {self.path}")
|
||||||
|
Loading…
Reference in New Issue
Block a user