Update ws.py

vhost.or replace by vhost.template