mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-21 16:26:21 +03:00
Pep8
This commit is contained in:
parent
e4b236158c
commit
912f70eddb
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -1,6 +1,6 @@
|
||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
from starlette.responses import FileResponse
|
from starlette.responses import FileResponse
|
||||||
from fastapi import FastAPI, APIRouter
|
from fastapi import FastAPI
|
||||||
|
|
||||||
from src.routes import index
|
from src.routes import index
|
||||||
from src.routes import wallpaper
|
from src.routes import wallpaper
|
||||||
|
@ -21,4 +21,4 @@ async def app_ads(req, __):
|
||||||
|
|
||||||
@app.exception_handler(404)
|
@app.exception_handler(404)
|
||||||
async def not_found(req, __):
|
async def not_found(req, __):
|
||||||
return FileResponse('./src/web/html/error/404.html')
|
return FileResponse('./src/web/html/error/404.html')
|
||||||
|
|
Loading…
Add table
Reference in a new issue