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

fix wrong unicode usage

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29075 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e41afa7
......@@ -134,7 +134,7 @@ for budget in budget_list:\n
# we use BudgetLine_asCellRange to get cell names, and have a default value\n
# for "virtual level 2"\n
cell_name_dict = {budget_line.getResource(base=1):\n
budget_line.getTitle().encode(\'utf8\')}\n
budget_line.getTitle().decode(\'utf8\')}\n
for cell_range_list in budget_line.BudgetLine_asCellRange(matrixbox=1):\n
for category, title in cell_range_list:\n
cell_name_dict[category] = title.decode(\'utf8\')\n
......
227
\ No newline at end of file
228
\ 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