fix: i am so good at coding
This commit is contained in:
parent
5630f8f8d1
commit
15d9f4d820
3 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,7 @@ def read_config(path: Optional[str]) -> Config:
|
|||
raw_conf = tomllib.load(file)
|
||||
|
||||
for key in raw_conf:
|
||||
if key not in ('domains', 'secrets'):
|
||||
if key not in ('domains', 'secrets', 'post_acquire', 'acme_path'):
|
||||
log.warning('unknown config key: %s', key)
|
||||
|
||||
c = Config()
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import logging
|
||||
|
||||
from ..config import Config
|
||||
|
||||
class Handler:
|
||||
zone: str
|
||||
config: Config
|
||||
|
|
|
@ -3,6 +3,7 @@ import json
|
|||
from typing import Optional, Any
|
||||
|
||||
from .base import Handler
|
||||
from ..config import Config
|
||||
|
||||
class HetznerHandler(Handler):
|
||||
# discovered
|
||||
|
|
Loading…
Reference in a new issue