Fix typo for purge command

This commit is contained in:
Lance Edgar 2024-05-17 09:38:55 -05:00
parent 9a39db4546
commit 3f46ee6a30

View file

@ -183,7 +183,7 @@ class PurgeTempmon(Subcommand):
do_purge(self.config, args.keep, dry_run=args.dry_run, progress=self.progress) do_purge(self.config, args.keep, dry_run=args.dry_run, progress=self.progress)
def do_purge(self, config, keep_days, dry_run=False, progress=None): def do_purge(config, keep_days, dry_run=False, progress=None):
from rattail_tempmon.db import Session, model from rattail_tempmon.db import Session, model
from rattail.db.util import finalize_session from rattail.db.util import finalize_session