projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 2 typos in the web code
[invirt/packages/invirt-web.git]
/
code
/
main.py
diff --git
a/code/main.py
b/code/main.py
index
5037a09
..
70e8912
100755
(executable)
--- a/
code/main.py
+++ b/
code/main.py
@@
-246,7
+246,7
@@
def vnc(username, state, path, fields):
"""
machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
"""
machine = validation.Validate(username, state, machine_id=fields.getfirst('machine_id')).machine
- token = control.vnctoken(machine)
+ token = controls.vnctoken(machine)
host = controls.listHost(machine)
if host:
port = 10003 + [h.hostname for h in config.hosts].index(host)
host = controls.listHost(machine)
if host:
port = 10003 + [h.hostname for h in config.hosts].index(host)