mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-22 12:34:17 +00:00
py-i2phosts-maint: fix log message
This commit is contained in:
parent
285ca6d4f9
commit
3b18825e4d
@ -112,7 +112,7 @@ for host in all_hosts:
|
||||
# if expired X days ago then delete
|
||||
dl_e = datetime.datetime.utcnow().date() - host.expires
|
||||
if dl_e > datetime.timedelta(days=config['keep_expired']):
|
||||
log.info('deleting %s, reason: expired % days ago',
|
||||
log.info('deleting %s, reason: expired %s days ago',
|
||||
host.name, config['keep_expired'])
|
||||
host.delete()
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user