Update views_cgi.py

fix a error.