diff --git a/auto_cache.py b/auto_cache.py index 32dcd26..81ace62 100644 --- a/auto_cache.py +++ b/auto_cache.py @@ -19,7 +19,7 @@ def auto_cache_data(): items = ['queryallrecordsbydatewithtype_[DATE]_flow'] - today - datetime.date.today() + today = datetime.date.today() print(today) for item in items: prev_day = today.deltaday(-1)