Update old import
This commit is contained in:
parent
57675487cb
commit
27fd4a5555
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
delete_old_logentries(one_month_ago)
|
||||
|
|
Reference in a new issue