From 17757a4f472d40dcbe3f9a4d071f3283cc17d745 Mon Sep 17 00:00:00 2001 From: Geoffrey Thomas Date: Wed, 30 Jul 2008 22:20:28 -0400 Subject: [PATCH] oops svn path=/trunk/packages/sipb-xen-www/; revision=799 --- code/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/main.py b/code/main.py index 7af4ecc..03d7eb1 100755 --- a/code/main.py +++ b/code/main.py @@ -260,7 +260,7 @@ def vnc(username, state, path, fields): host = controls.listHost(machine) if host: port = 10003 + [config_host["hostname"] for config_host in invirt_config["hosts"] - ].index(controls.listHost(machine)) + ].index(host) else: port = 5900 # dummy -- 1.7.9.5