From 62fd2d52da967315fc635e53ff27ebd0f4dd6d69 Mon Sep 17 00:00:00 2001 From: s3lph <1375407-s3lph@users.noreply.gitlab.com> Date: Tue, 31 Jan 2023 01:27:57 +0100 Subject: [PATCH] Fix non-starting httpd --- easywks/httpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easywks/httpd.py b/easywks/httpd.py index cbf65a1..0d50feb 100644 --- a/easywks/httpd.py +++ b/easywks/httpd.py @@ -72,9 +72,9 @@ def direct_hu(userhash: str): return advanced_hu(get_domain_header(), userhash) -def run_server(): +def run_server(args): run(host=Config.httpd['host'], port=Config.httpd['port']) if __name__ == '__main__': - run_server() + run_server(None)