Commit 35f9c2b4 authored by Romain Courteaud's avatar Romain Courteaud

Title may already be calculated from regexp.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18106 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 15fe9918
...@@ -142,7 +142,7 @@ if reference:\n ...@@ -142,7 +142,7 @@ if reference:\n
new_dict[\'reference\'] = reference\n new_dict[\'reference\'] = reference\n
\n \n
# Set title to file_name by default\n # Set title to file_name by default\n
new_dict[\'title\'] = file_name.split(\'.\')[0]\n new_dict[\'title\'] = property_dict.get(\'title\', file_name.split(\'.\')[0])\n
\n \n
return new_dict\n return new_dict\n
</string> </value> </string> </value>
......
731 732
\ No newline at end of file \ 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