Mercurial > hg > purlService
changeset 29:7027fbf1d141
minor
author | dwinter |
---|---|
date | Fri, 24 May 2013 16:53:09 +0200 |
parents | 246049db5466 |
children | bcd8076ff7ec |
files | restService/images.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/restService/images.py Wed Mar 13 15:15:27 2013 +0100 +++ b/restService/images.py Fri May 24 16:53:09 2013 +0200 @@ -14,7 +14,7 @@ import os.path #SOLR_URL="http://127.0.0.1:8983/solr/mpiwgSources" -SOLR_URL="http://md.mpiwg-berlin.mpg.de:8983/solr/mpiwgSources" +SOLR_URL="http://md.mpiwg-berlin.mpg.de:8983/solr/collection1" SCALERPATH="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Scaler?fn=%s" @@ -33,7 +33,7 @@ return "",manageIndexMetaPURLs.NO_METADATA_FOUND doc=res.result.docs[0] - + path=doc.get('TT_image',None) if not isinstance(path, basestring): #TT_image was defined as multiple , shouldn't be the case ? @@ -100,4 +100,4 @@ print path raise web.redirect(path,"302 found") - \ No newline at end of file +