Skip to content
Snippets Groups Projects
Commit b19337ce authored by ale's avatar ale
Browse files

Fix missing type for --days option

parent a7cc0c2e
Branches
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ def ingest(unseen, limit):
db.session.commit()
@manager.option('--days', default=30)
@manager.option('--days', type=int, default=30)
def expire(days):
"""Expire old entries from the database."""
cutoff = datetime.now() - timedelta(days)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment