Skip to content

Commit

Permalink
[#1200] fix error in getting plugings from config
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Oct 24, 2013
1 parent e09d4c3 commit ca51350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/logic/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def datastore_create(context, data_dict):

# create resource from file
if has_url:
if not 'datapusher' in pylons.config.get('plugins'):
if not 'datapusher' in pylons.config.get('ckan.plugins', ''):
raise p.toolkit.ValidationError({'resource': [
'The datapusher has to be enabled.']})
p.toolkit.get_action('datapusher_submit')(context, {
Expand Down

0 comments on commit ca51350

Please sign in to comment.