Skip to content
Snippets Groups Projects
Commit abb98b26 authored by anonymous's avatar anonymous
Browse files

Error message bugfix in profiles.py

parent 45bdc1df
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ def resource_formats():
# at first try to get the actual file list online:
try:
format_european_url = config.get('ckan.odsh.resource_formats_url')
err_msg = "Could not get file formats from " + format_european_url
err_msg = "Could not get file formats from " + str(format_european_url)
if not format_european_url:
log.warning("Could not find config setting: 'ckan.odsh.resource_formats_url', using fallback instead.")
format_european_url = "http://publications.europa.eu/resource/authority/file-type"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment