Mercurial > hg > ChinaGisRestApi
changeset 27:a2e4ca3f1cff
NEW - # 12: create table and upload data
https://it-dev.mpiwg-berlin.mpg.de/tracs/GIS/ticket/12
fix oopsie
author | casties |
---|---|
date | Tue, 24 Aug 2010 20:29:31 +0200 |
parents | 2b73f868d34f |
children | 9e4f9cfd1edc |
files | RestDbInterface.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/RestDbInterface.py Mon Aug 23 17:14:38 2010 +0200 +++ b/RestDbInterface.py Tue Aug 24 20:29:31 2010 +0200 @@ -181,9 +181,9 @@ # ReST path was stored in request path = REQUEST.get('restdb_path',[]) - # queryType and resultFormat are real parameter + # type and format are real parameter resultFormat = REQUEST.get('format','HTML').upper() - queryType = REQUEST.get('queryType',None) + queryType = REQUEST.get('type',None) logging.debug("index_html path=%s resultFormat=%s queryType=%s"%(path,resultFormat,queryType))