From c86f8820b72d8451500ac96b58ef270c55ddf12c Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 8 May 2018 18:18:17 +0800 Subject: [PATCH] fix Source.keymanager not defined when __config__ is absent --- nvchecker/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nvchecker/core.py b/nvchecker/core.py index 135c72e..7f578eb 100644 --- a/nvchecker/core.py +++ b/nvchecker/core.py @@ -132,6 +132,7 @@ class Source: else: self.max_concurrent = 20 + self.keymanager = KeyManager(None) async def check(self): if self.oldver: