Permalink
Browse files

change to fit new archiver

  • Loading branch information...
1 parent 3cf2e28 commit 32edb8c9f65eb47e7eb18487eecd49a4e8c9f953 @kindly kindly committed Mar 4, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 ckanext/webstorer/plugin.py
  2. +1 −0 ckanext/webstorer/tasks.py
@@ -37,6 +37,7 @@ def _create_webstorer_task(self, resource):
context = json.dumps({
'site_url': h.url_for('/', qualified = True),
'apikey': user.get('apikey'),
+ 'site_user_apikey': user.get('apikey'),
'username': user.get('name'),
})
data = json.dumps(resource_dictize(resource, {'model': model}))
@@ -14,6 +14,7 @@
'text/plain',
'xls',
'application/ms-excel',
+ 'application/vnd.ms-excel',
'application/xls',
'application/octet-stream',
'text/comma-separated-values'

0 comments on commit 32edb8c

Please sign in to comment.