mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 15:57:53 +10:00
call validate functions at AppConfig.ready time manually
This commit is contained in:
@@ -24,7 +24,7 @@ def get_PLUGIN():
|
||||
@abx.hookimpl
|
||||
def get_CONFIG():
|
||||
from .config import WGET_CONFIG
|
||||
|
||||
|
||||
return {
|
||||
'wget': WGET_CONFIG
|
||||
}
|
||||
@@ -45,3 +45,8 @@ def get_EXTRACTORS():
|
||||
'wget': WGET_EXTRACTOR,
|
||||
'warc': WARC_EXTRACTOR,
|
||||
}
|
||||
|
||||
@abx.hookimpl
|
||||
def ready():
|
||||
from .config import WGET_CONFIG
|
||||
WGET_CONFIG.validate()
|
||||
|
||||
Reference in New Issue
Block a user