forked from ScoDoc/ScoDoc
fix regression in cache invalidation
This commit is contained in:
parent
84e991cef0
commit
5d32b9f706
@ -251,7 +251,7 @@ def invalidate_formsemestre( # was inval_cache(formsemestre_id=None, pdfonly=Fa
|
||||
"""
|
||||
from app.scodoc import sco_parcours_dut
|
||||
|
||||
if g.defer_cache_invalidation:
|
||||
if getattr(g, "defer_cache_invalidation", False):
|
||||
g.sem_to_invalidate.add(formsemestre_id)
|
||||
return
|
||||
log("inval_cache, formsemestre_id=%s pdfonly=%s" % (formsemestre_id, pdfonly))
|
||||
|
Loading…
Reference in New Issue
Block a user