fix imports
This commit is contained in:
parent
73b5b7993f
commit
cc8858b7ac
3 changed files with 13 additions and 10 deletions
|
|
@ -26,7 +26,7 @@ from suou import twocolon_list, WantsContentType
|
|||
|
||||
from .colors import color_themes, theme_classes
|
||||
|
||||
__version__ = '0.5.0-dev33'
|
||||
__version__ = '0.5.0-dev34'
|
||||
|
||||
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
|
|
@ -273,6 +273,7 @@ async def error_404(body):
|
|||
except Exception as e:
|
||||
logger.error(f'Exception in find_guild_or_user: {e}')
|
||||
pass
|
||||
print(request.host)
|
||||
return await error_handler_for(404, 'Not found', '404.html')
|
||||
|
||||
@app.errorhandler(405)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
|
||||
from __future__ import annotations
|
||||
from quart import Blueprint, abort, flash, render_template, request
|
||||
from quart_auth import current_user, login_required
|
||||
from sqlalchemy import select
|
||||
import datetime
|
||||
|
||||
from freak.utils import get_request_form
|
||||
from .. import UserLoader
|
||||
from ..utils import get_request_form
|
||||
|
||||
from ..models import db, User, Guild
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ dependencies = [
|
|||
"libsass",
|
||||
"setuptools>=78.1.0",
|
||||
"Hypercorn",
|
||||
"sakuragasaki46-suou>=0.5.0"
|
||||
"sakuragasaki46-suou>=0.5.2"
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue