adds script

This commit is contained in:
Albrecht Muehlenschulte 2022-05-06 12:43:33 +02:00 committed by Guilhem Saurel
parent 0ab2507009
commit 29653fc04b
2 changed files with 9 additions and 1 deletions

View file

@ -3,7 +3,12 @@ import logging
from . import app, conf
if __name__ == "__main__":
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()