From aa777ade688b624049cd2b24a5bfb5fbe1b444f9 Mon Sep 17 00:00:00 2001 From: rebortg Date: Thu, 30 Dec 2021 13:44:10 +0100 Subject: correct build warnings --- docs/_ext/vyos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_ext') diff --git a/docs/_ext/vyos.py b/docs/_ext/vyos.py index 0a198821..667f2777 100644 --- a/docs/_ext/vyos.py +++ b/docs/_ext/vyos.py @@ -655,7 +655,7 @@ def handle_document_meta_data(app, document): try: lastproofread_time = datetime.strptime(lastproofread, '%Y-%m-%d') delta = datetime.now() - lastproofread_time - if delta.days > 180: + if delta.days > 365: logger.warning(f'{delta.days} days since last proofread {app.env.doc2path(docname)}') except Exception as e: -- cgit v1.2.3