mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix referring to wrong conf when logging no-result messages
This commit is contained in:
parent
bfc4b76124
commit
db376ccfed
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ class Source:
|
|||
elif result is not None:
|
||||
self.print_version_update(name, result)
|
||||
else:
|
||||
conf = config[name]
|
||||
if not conf.getboolean('missing_ok', False):
|
||||
logger.warn('no-result', name=name)
|
||||
self.on_no_result(name)
|
||||
|
|
Loading…
Add table
Reference in a new issue