Commit d6c65f59 authored by Jérome Perrin's avatar Jérome Perrin

Base_getCategoriesSpreadSheetMapping already encodes strings in utf8. No need...

Base_getCategoriesSpreadSheetMapping already encodes strings in utf8. No need to do such things here.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22616 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ddbc8ff
......@@ -155,8 +155,6 @@ for base_category, categories in \\\n
key = str(key)\n
if key not in [\'path\', \'id\']:\n
value = category[key]\n
if value is not None:\n
value = str(value.encode(\'UTF-8\'))\n
if update_existing_property or is_new_category:\n
# Always update properties if update_existing_property is set or if this a new category\n
category_update_dict[key] = value\n
......
914
\ No newline at end of file
915
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment