From 58164e915d96862a231c8a5acbe5fca890dce8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Mercader?= Date: Fri, 11 Mar 2011 12:38:09 +0000 Subject: [PATCH] Fix typo --- ckanext/harvest/controllers/view.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ckanext/harvest/controllers/view.py b/ckanext/harvest/controllers/view.py index c6843fe..8587331 100644 --- a/ckanext/harvest/controllers/view.py +++ b/ckanext/harvest/controllers/view.py @@ -81,6 +81,8 @@ class ViewController(BaseController): sources_url = self.api_url + '/harvestsource/%s' % id doc = self._do_request(sources_url).read() c.source = json.loads(doc) + + return render('ckanext/harvest/show.html') def create_harvesting_job(self,id): form_url = self.api_url + '/harvestingjob' @@ -101,4 +103,3 @@ class ViewController(BaseController): h.flash_error(msg) finally: redirect(h.url_for(controller='harvest', action='index', id=None)) - return render('ckanext/harvest/show.html')