randydev commited on
Commit
145a7aa
·
1 Parent(s): 028d508

fix maintance

Browse files
Files changed (1) hide show
  1. akn/manage/account.py +1 -1
akn/manage/account.py CHANGED
@@ -1055,7 +1055,7 @@ async def new_magic_clone(bot: Client, cb: CallbackQuery):
1055
 
1056
  async def new_menu_alldlbot_clone(bot, message):
1057
  user_id = message.from_user.id
1058
- if await db_client.get_maintance():
1059
  return await message.reply_text("Bot is in maintance mode. By @xpushz")
1060
  client_name = generate_random_string(12)
1061
  try:
 
1055
 
1056
  async def new_menu_alldlbot_clone(bot, message):
1057
  user_id = message.from_user.id
1058
+ if await db_client.get_maintance():
1059
  return await message.reply_text("Bot is in maintance mode. By @xpushz")
1060
  client_name = generate_random_string(12)
1061
  try: