Fix config loading bug in webserver

This commit is contained in:
s3lph 2021-09-29 03:40:13 +02:00
parent e15f6e51b1
commit c535ae8f1a
3 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
__version__ = '0.1.3' __version__ = '0.1.4'

View file

@ -39,7 +39,7 @@ def hu(domain: str, userhash: str):
def run_server(): def run_server():
run(host=Config.host, port=Config.port) run(host=Config.httpd['host'], port=Config.httpd['port'])
if __name__ == '__main__': if __name__ == '__main__':

View file

@ -2,7 +2,7 @@
from .config import Config from .config import Config
from .files import init_working_directory, clean_stale_requests from .files import init_working_directory, clean_stale_requests
from .process import process_mail_from_stdin from .process import process_mail_from_stdin
from .server import run_server from .httpd import run_server
from .lmtpd import run_lmtpd from .lmtpd import run_lmtpd