feat: generate and validate config.ini
All checks were successful
Build / Upload to production (push) Successful in 1m38s
All checks were successful
Build / Upload to production (push) Successful in 1m38s
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
c64075f84d
commit
d0357ff7c9
7 changed files with 113 additions and 77 deletions
|
@ -13,7 +13,7 @@ from telegram.constants import ParseMode
|
|||
from telegram.ext import ContextTypes
|
||||
|
||||
import html_parser
|
||||
from config import app
|
||||
import config
|
||||
from extensions import humanize_tags_from_json, format_rating, get_json
|
||||
|
||||
|
||||
|
@ -111,7 +111,7 @@ async def answer_query(
|
|||
html_parser.bold(artists),
|
||||
]
|
||||
),
|
||||
f"{app.protocol}://{app.hostname}/posts/{query}",
|
||||
f"{config.app.protocol}://{config.app.hostname}/posts/{query}",
|
||||
),
|
||||
rating,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue