feature: check for deps on start

This commit is contained in:
Dobin Rutishauser
2024-06-17 11:00:45 +02:00
parent 0d320b38d0
commit 5109561418
3 changed files with 21 additions and 1 deletions
+4
View File
@@ -9,10 +9,14 @@ from app.views import views
from app.views_project import views_project
from app.views_shcdev import views_shcdev
from log import setup_logging
from utils import check_deps
if __name__ == "__main__":
logging.getLogger('werkzeug').setLevel(logging.ERROR)
setup_logging()
check_deps()
parser = argparse.ArgumentParser()
parser.add_argument('--listenip', type=str, help='IP to listen on', default="0.0.0.0")
parser.add_argument('--listenport', type=int, help='Port to listen on', default=5001)