From 0df186f5c3c59bd77b08167c93bb8adda3d2cd7b Mon Sep 17 00:00:00 2001 From: Jordan Rodgers Date: Wed, 24 Jan 2018 01:22:27 -0500 Subject: [PATCH] only retrieve vms for user if active --- proxstar/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/proxstar/__init__.py b/proxstar/__init__.py index 6ff27c3..db31202 100644 --- a/proxstar/__init__.py +++ b/proxstar/__init__.py @@ -68,7 +68,6 @@ def list_vms(user=None): rtp_view = True else: user = session['userinfo']['preferred_username'] - vms = get_vms_for_user(proxmox, user) if active: vms = get_vms_for_user(proxmox, user) else: