From abb98b263e5e41a749e5c77c06b585173df55fe7 Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Tue, 7 May 2019 23:27:51 +0200 Subject: [PATCH] Error message bugfix in profiles.py --- ckanext/odsh/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/odsh/profiles.py b/ckanext/odsh/profiles.py index 416f1f76..34ed6957 100644 --- a/ckanext/odsh/profiles.py +++ b/ckanext/odsh/profiles.py @@ -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" -- GitLab