From 8ec2b2be1ddf1a208c3c69037fc7caa6b4e2f297 Mon Sep 17 00:00:00 2001 From: lulzette Date: Wed, 24 Mar 2021 19:37:58 +0000 Subject: [PATCH] destroy --- index.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/index.py b/index.py index 6e84f92..675de6e 100644 --- a/index.py +++ b/index.py @@ -10,12 +10,10 @@ def listVDS(): VdsListVar.append(i) return VdsListVar -# Главная страница @route('/') def index(): -# return template('index.html') # return 'Привет, мир!' - return listVDS() + return str(listVDS()) @get('/action') # or @route('/login') @@ -26,7 +24,8 @@ def login(): Action (start/stop):
Start
Stop
- + destroy
+ ''' @@ -43,6 +42,9 @@ def do_action(): elif (act == "stop"): dom.shutdown() return "

Stopped