From 27fd4a5555fb2ef2b8a832033816bf232b7f1e21 Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Tue, 6 Oct 2015 18:42:41 -0400 Subject: [PATCH] Update old import --- tools/deleteoldlogentries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/deleteoldlogentries.py b/tools/deleteoldlogentries.py index 1f6c60509..3ac28e0df 100644 --- a/tools/deleteoldlogentries.py +++ b/tools/deleteoldlogentries.py @@ -3,7 +3,7 @@ import logging from datetime import timedelta, datetime from app import app -from data.model import LogEntry +from data.database import LogEntry logger = logging.getLogger(__name__) @@ -42,4 +42,4 @@ if __name__ == '__main__': now = datetime.now() one_month_ago = now - timedelta(days=30) - delete_old_logentries(one_month_ago) \ No newline at end of file + delete_old_logentries(one_month_ago)