fix: i am so good at coding

This commit is contained in:
ptrcnull 2024-03-16 07:19:43 +01:00
parent 5630f8f8d1
commit 15d9f4d820
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA
3 changed files with 4 additions and 1 deletions

View file

@ -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()

View file

@ -1,5 +1,7 @@
import logging
from ..config import Config
class Handler:
zone: str
config: Config

View file

@ -3,6 +3,7 @@ import json
from typing import Optional, Any
from .base import Handler
from ..config import Config
class HetznerHandler(Handler):
# discovered