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