summaryrefslogtreecommitdiffstats
path: root/Demo/cgi/cgi2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/cgi/cgi2.py')
-rwxr-xr-xDemo/cgi/cgi2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/cgi/cgi2.py b/Demo/cgi/cgi2.py
index 239fb6b..1d5822c 100755
--- a/Demo/cgi/cgi2.py
+++ b/Demo/cgi/cgi2.py
@@ -14,7 +14,7 @@ def main():
print("<h1>No Form Keys</h1>")
else:
print("<h1>Form Keys</h1>")
- for key in list(form.keys()):
+ for key in form.keys():
value = form[key].value
print("<p>", cgi.escape(key), ":", cgi.escape(value))