Skip to content

Commit

Permalink
Merge pull request #97 from keitaroinc/master
Browse files Browse the repository at this point in the history
Add placeholder email
  • Loading branch information
klikstermkd authored Oct 25, 2016
2 parents 4b6213d + 422ac73 commit e105f05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckanext/iati/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ def get_first_published_date(organization):
publisher_first_publish_date
}

if 'publisher_contact_email' not in organization:
data_dict.update({'publisher_contact_email': 'Email not found'})

try:
check_access('organization_patch', {})
p.toolkit.get_action('organization_patch')({}, data_dict=data_dict)
Expand Down

0 comments on commit e105f05

Please sign in to comment.