1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Rework entrypoints

This commit is contained in:
Unrud 2020-01-17 05:00:31 +01:00
parent b4230c4249
commit 41f8368c7e
4 changed files with 6 additions and 7 deletions

View file

@ -7,6 +7,7 @@ Launch the server according to configuration and command-line options.
"""
import radicale.__main__
import runpy
radicale.__main__.run()
if __name__ == "__main__":
runpy.run_module("radicale", run_name="__main__")