Merge pull request #610 from coreos-inc/update-import

Update old import
This commit is contained in:
Quentin Machu 2015-10-06 18:43:28 -04:00
commit c3a411cd63

View file

@ -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)