cn-py-serv/main.py
Иван Солнцев a4f7411e10 Add more debug messages
- Move log initialization to config file;
- Add meta tag for charset to index file.
2024-07-03 14:06:19 +03:00

25 lines
905 B
Python
Executable file

#!/usr/bin/python3
import logging
from server.main import start_http_server
import config
log = logging.getLogger(__name__)
if __name__ == "__main__":
project_logotype = """
________ _ _ _______ _______ ______ _ _
| ______ | | |_ | | | _____ | | _____| | ___ | | | | |
| | |_| | | | | | | |_| | | | | | | |_| |_|
| | | ||_| | | |_|___ | |___ | |___| | | | | |
| | | | |_| | | |___|_ | ___| | ____| |_| |_|
| | _ | | |_|| | _ | | | | | |_|_ | | | |
| |______| | | | |_ | | |_____| | | |_____ | | |_|_ |_|_|_|
|________| |_| |_| |_______| |_______| | | |_| |_|
============================== Start HTTP server ==============================="""
log.info(project_logotype)
start_http_server()