Added one more check

This commit is contained in:
Profitroll 2022-10-23 12:28:15 +02:00
parent 12c0664c0a
commit 1e97c75b5e

View File

@ -74,6 +74,8 @@ async def confirm_yes(app, msg):
if user_stage == 10: if user_stage == 10:
if not configGet("sent", file=str(msg.from_user.id)):
await msg.reply_text(locale("application_sent", "message"), reply_markup=ReplyKeyboardRemove()) await msg.reply_text(locale("application_sent", "message"), reply_markup=ReplyKeyboardRemove())
applications = jsonLoad(f"{configGet('data', 'locations')}{sep}applications.json") applications = jsonLoad(f"{configGet('data', 'locations')}{sep}applications.json")