From 359a3ffb9aee2a2d5f693196509b07ad29edb80f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 22 Dec 2023 04:35:05 +0100 Subject: [PATCH] fix: misc --- Dockerfile | 2 +- src/utils/misc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac5b6e5..473683e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ COPY ./src ./app USER td -CMD [ "uwsgi", "--http", "0.0.0.0:80", "-M", "-w" ,"app.app", "--callable", "app" ] +CMD [ "uwsgi", "--http", "0.0.0.0:80", "-Mw" ,"app.app", "--callable", "app" ] diff --git a/src/utils/misc.py b/src/utils/misc.py index e2ba64c..eff0779 100644 --- a/src/utils/misc.py +++ b/src/utils/misc.py @@ -2,7 +2,7 @@ from os import listdir from os import path as os_path from os import remove as os_remove -from config import Config +from utils.config import Config def post_filename(number: int) -> str: