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)