python.video_converter_v3/__main__.py

16 lines
No EOL
400 B
Python

import asyncio
import logging
from platform import python_version
from app.main_server import Server
if __name__ == "__main__":
print(python_version())
obj_server = Server()
try:
asyncio.run(obj_server.start_server())
except KeyboardInterrupt:
logging.warning("Server wurde manuell beendet")
except Exception as e:
logging.critical(f"Global error: {e}")