randydev commited on
Commit
8afb532
·
1 Parent(s): 82ec63c

fix maintance

Browse files
Files changed (1) hide show
  1. akn/manage/callback.py +1 -1
akn/manage/callback.py CHANGED
@@ -1292,7 +1292,7 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1292
  @ren.on_callback_query(filters.regex("^tutorial_alldlbot$"))
1293
  async def tutor_alldlbot(client, cb: CallbackQuery):
1294
  user_id = cb.from_user.id
1295
- if await db.client.get_maintance(client.me.id):
1296
  return await query.answer("Bot is under maintenance, please try again later.", True)
1297
 
1298
  if not await db_client.get_privacy_policy(user_id):
 
1292
  @ren.on_callback_query(filters.regex("^tutorial_alldlbot$"))
1293
  async def tutor_alldlbot(client, cb: CallbackQuery):
1294
  user_id = cb.from_user.id
1295
+ if await db_client.get_maintance(client.me.id):
1296
  return await query.answer("Bot is under maintenance, please try again later.", True)
1297
 
1298
  if not await db_client.get_privacy_policy(user_id):