From 6462c6cd13a93209e33e376bafda7a71d01e4aac Mon Sep 17 00:00:00 2001 From: enrico ferreguti Date: Tue, 2 Jul 2024 22:09:06 +0200 Subject: [PATCH] fix syntax error --- webapp/djakart/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/djakart/models.py b/webapp/djakart/models.py index 3cc02cc..6f233f3 100755 --- a/webapp/djakart/models.py +++ b/webapp/djakart/models.py @@ -163,7 +163,7 @@ def wrapper(*args, **kwargs): if versione.cache_timedelta() > 60: #print ("CACHE-MISS %s.%s cache_timedelta %s" % (versione, func.__name__,versione.cache_timedelta() )) cached_props[func.__name__] = func(*args, **kwargs) - else: + #else: #print ("CACHE-HIT %s.%s cache_timedelta %s" % (versione, func.__name__,versione.cache_timedelta() )) else: #print ("CACHE-STORE %s.%s cache_timedelta %s" % (versione, func.__name__,versione.cache_timedelta() ))