Commit bcc12a28 authored by Aurel's avatar Aurel

use getattr to be compatible with newer zope version

parent 0f8077f3
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>enctype = context[\'enctype\']\n <value> <string>enctype = getattr(context, "enctype")\n
if enctype in (\'\', None):\n if enctype in (\'\', None):\n
return None\n return None\n
return enctype\n return enctype\n
......
1081 1083
\ 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