Browse Source

Update webtools.py

tags/2.0
153 2 years ago
committed by GitHub
parent
commit
369326961e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      webtools.py

+ 3
- 0
webtools.py View File

@@ -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:


Loading…
Cancel
Save