Skip to content

Commit

Permalink
2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ziwork committed Mar 29, 2023
1 parent 7803bc6 commit bbb0de2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ def bot_message(message):
if isnewline:
f.write(newline + '\n')
f.close()
subprocess.call(["/opt/bin/unblock_update.sh"])
bot.send_message(message.chat.id, "Установили изначальные скрипты")

# получение мостов tor
Expand Down Expand Up @@ -664,6 +663,8 @@ def bot_message(message):
"Что бы завершить настройку роутера, Зайдите в меню сервис -> DNS Override -> ВКЛ. "
"Учтите, после выполнения команды, роутер перезагрузится, это займет около 2 минут.",
reply_markup=main)

subprocess.call(["/opt/bin/unblock_update.sh"])
return

if message.text == 'Удаление':
Expand Down

0 comments on commit bbb0de2

Please sign in to comment.