Replaced sep with more friendly path.join

This commit is contained in:
Profitroll 2023-03-12 14:50:26 +01:00
parent 09ec0f4620
commit ca9a9ce5d8

View File

@ -1,11 +1,11 @@
from os import makedirs, sep
from os import makedirs, path
from modules.app import app
from modules.utils import *
from modules.scheduler import scheduler
from modules.extensions_loader import dynamic_import_from_src
from fastapi.responses import FileResponse
makedirs(f"data{sep}users", exist_ok=True)
makedirs(path.join("data", "users"), exist_ok=True)
@app.get("/favicon.ico", response_class=FileResponse, include_in_schema=False)