mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 05:34:14 -04:00
call validate functions at AppConfig.ready time manually
This commit is contained in:
parent
7a6f1f36d2
commit
267fde0138
12 changed files with 43 additions and 24 deletions
|
@ -46,3 +46,8 @@ def get_SEARCHBACKENDS():
|
|||
return {
|
||||
'sonic': SONIC_SEARCH_BACKEND,
|
||||
}
|
||||
|
||||
@abx.hookimpl
|
||||
def ready():
|
||||
from .config import SONIC_CONFIG
|
||||
SONIC_CONFIG.validate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue