Skip to content

Commit

Permalink
Remove python 2.7 only format in log message
Browse files Browse the repository at this point in the history
Thanks to @srkunze for the patch
  • Loading branch information
amercader committed Oct 19, 2012
1 parent f98b3b8 commit e1e132f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -1297,7 +1297,7 @@ def resource_preview(resource, pkg_id):
directly = True
url = resource['url']
else:
log.info('no handler for {}'.format(resource['format']))
log.info('No preview handler for resource type {0}'.format(resource['format']))
return snippet(
"dataviewer/snippets/no_preview.html",
resource_type=format_lower
Expand Down

0 comments on commit e1e132f

Please sign in to comment.