Last analyzed be804d7 4 months ago
Default analysis branch is
Currently analyzing run
Unnecessary else / elif used after return PYL-R1705
Style
7 months ago7 months old
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
 76
 77@app.get("/")
 78def index():
 79    if os.path.exists("./web/index.html"): 80        return FileResponse(
 81            "web/index.html",
 82            200