2024-01-27 08:22:36 +01:00
|
|
|
from app import log
|
|
|
|
|
|
|
|
PE_DEBUG = 0
|
|
|
|
|
|
|
|
if not PE_DEBUG:
|
|
|
|
# log to notes.log
|
|
|
|
def pe_print(*a, **kw):
|
|
|
|
# kw is ignored. log always add a newline
|
|
|
|
log(" ".join(a))
|
2024-02-02 11:49:24 +01:00
|
|
|
|
2024-01-27 08:22:36 +01:00
|
|
|
else:
|
|
|
|
pe_print = print # print function
|
2024-01-25 17:17:01 +01:00
|
|
|
|
2024-02-02 06:11:21 +01:00
|
|
|
# Affichage dans le tableur pe en cas d'absence de notes
|
|
|
|
SANS_NOTE = "-"
|
2024-02-02 11:49:24 +01:00
|
|
|
NOM_STAT_GROUPE = "statistiques du groupe"
|
|
|
|
NOM_STAT_PROMO = "statistiques de la promo"
|
2024-01-25 17:17:01 +01:00
|
|
|
|
|
|
|
|