153
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
webtools.py
|
|
@@ -16,6 +16,9 @@ def head(title=''): |
|
|
|
header.append("<title>{0}</title>".format(title)) |
|
|
|
return "\n".join(header) |
|
|
|
|
|
|
|
def raw_query(): |
|
|
|
return os.environ["QUERY_STRING"] |
|
|
|
|
|
|
|
def get_form(val): |
|
|
|
if form.getvalue(val): |
|
|
|
if len(form.getvalue(val)[0]) > 1: |
|
|
|