Use options correctly
All checks were successful
docker-image / docker (push) Successful in 3m50s

The age for notes and revisions was swapped
This commit is contained in:
Stefan Bethke 2024-05-20 13:01:51 +02:00
parent 5575cc9156
commit d73c5f8a52

View file

@ -288,8 +288,8 @@ def main():
args = parser.parse_args()
config = Config()
config.note_age = timedelta(days=args.revisions)
config.revision_age = timedelta(days=args.notes)
config.note_age = timedelta(days=args.notes)
config.revision_age = timedelta(days=args.revisions)
config.verbose = args.verbose
mail = EmailSender(config.smtp_hostname, config.smtp_port, config.smtp_username, config.smtp_password,
config.smtp_from)