# HG changeset patch # User cavaliet # Date 1328537845 -3600 # Node ID 7ef1fee100853cf7510bb5dff59e4bd2dc70ce8d # Parent e2d15b14ce5633cc0240c8bf25fd5c55496e366f Little correction on content tag management. diff -r e2d15b14ce56 -r 7ef1fee10085 src/ldt/ldt/ldt_utils/forms.py --- a/src/ldt/ldt/ldt_utils/forms.py Mon Feb 06 15:03:43 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/forms.py Mon Feb 06 15:17:25 2012 +0100 @@ -69,7 +69,7 @@ iriurl_data = "%s/%s.iri" % (iri_id_data, iri_id_data) cleaned_data['iriurl'] = iriurl_data # if needed, we add a comma to the tag list, to force comma separated list and enable tags with spaces. - if ',' not in cleaned_data['tags'] : + if ',' not in cleaned_data['tags'] and cleaned_data['tags']!="" : cleaned_data['tags'] = cleaned_data['tags'] + ',' return cleaned_data