fix bug "cannot revert preference to global"

This commit is contained in:
Jean-Marie Place 2023-02-18 11:51:57 +01:00 committed by iziram
parent 0bc546853d
commit 72e96abfd0

View File

@ -2125,7 +2125,7 @@ class BasePreferences(object):
if formsemestre_id:
descr[
"explanation"
] = """ou <span class="spanlink"
] = f"""ou <span class="spanlink"
onclick="set_global_pref(this, '{pref_name}');"
>utiliser paramètre global</span>"""
if formsemestre_id and self.is_global(formsemestre_id, pref_name):