forked from ScoDoc/ScoDoc
Fix: silently ignore unused pref names
This commit is contained in:
parent
4b485d5a4c
commit
086cb8f8f5
@ -1808,7 +1808,9 @@ class BasePreferences(object):
|
||||
for p in preflist:
|
||||
if not p["formsemestre_id"] in self.prefs:
|
||||
self.prefs[p["formsemestre_id"]] = {}
|
||||
|
||||
# Ignore les noms de préférences non utilisés dans le code:
|
||||
if p["name"] not in self.prefs_dict:
|
||||
continue
|
||||
# Convert types:
|
||||
if (
|
||||
p["name"] in self.prefs_dict
|
||||
|
Loading…
Reference in New Issue
Block a user