From 0b499b68e79982291d68c737fb098bf692a83f23 Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Wed, 1 Feb 2017 19:35:26 +1100 Subject: [PATCH] Fix: logmessage failed when learning new words --- chatops/python/validate_report.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chatops/python/validate_report.py b/chatops/python/validate_report.py index 720acd5..bf3ed55 100644 --- a/chatops/python/validate_report.py +++ b/chatops/python/validate_report.py @@ -6,10 +6,10 @@ Cross-checks findings, validates XML files, offerte and report files. This script is part of the PenText framework https://pentext.org - Copyright (C) 2015-2016 Radically Open Security + Copyright (C) 2015-2017 Radically Open Security https://www.radicallyopensecurity.com - Author(s): Peter Mosmans + Author: Peter Mosmans This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -97,7 +97,7 @@ def parse_arguments(): description=textwrap.dedent('''\ validate_report - validates offer letters and reports -Copyright (C) 2015-2016 Radically Open Security (Peter Mosmans) +Copyright (C) 2015-2017 Radically Open Security (Peter Mosmans) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -590,7 +590,7 @@ def main(): else: logging.warning('Validation failed') if options['spelling'] and options['learn']: - logging.log(STATUS('Don\'t forget to check the vocabulary file %s', VOCABULARY)) + logging.log(STATUS, 'Don\'t forget to check the vocabulary file %s', VOCABULARY) if __name__ == "__main__":