Mercurial > hg > documentViewer
diff documentViewer.py @ 473:74e9e74277e9 elementtree
smaller improvements
author | casties |
---|---|
date | Fri, 05 Aug 2011 11:24:42 +0200 |
parents | 9705161bc888 |
children | 0bc4a153863a |
line wrap: on
line diff
--- a/documentViewer.py Thu Aug 04 18:13:13 2011 +0200 +++ b/documentViewer.py Fri Aug 05 11:24:42 2011 +0200 @@ -461,7 +461,7 @@ docinfo['documentUrl'] = docUrl # process index.meta contents - if metaDom is not None: + if metaDom is not None and metaDom.tag == 'resource': # document directory name and path resource = self.metadataService.getResourceData(dom=metaDom) if resource: