matrix-webhook/matrix_webhook/__main__.py
Albrecht Muehlenschulte 29653fc04b adds script
2022-08-01 23:51:29 +02:00

14 lines
306 B
Python

"""Matrix Webhook module entrypoint."""
import logging
from . import app, conf
def main():
log_format = "%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s"
logging.basicConfig(level=50 - 10 * conf.VERBOSE, format=log_format)
app.run()
if __name__ == "__main__":
main()