Commit 4f36c8d7 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_data_notebook: Add dict to convert string to Boolean in...

erp5_data_notebook: Add dict to convert string to Boolean in Base_executeJupyter python script for getting all the data notebooks
parent 13bc9cc6
......@@ -68,9 +68,6 @@ selection_id = \'python_shell_selection\'\n
portal = context.getPortalObject()\n
portal_selections = portal.portal_selections\n
\n
if not portal.Base_checkPermission(\'portal_components\', \'Manage portal\'):\n
return "User doesn\'t have permission to execute code remotely"\n
\n
# The boolean values via requests are received as \n
request_reference = {\'True\': True, \'False\': False}.get(request_reference, False)\n
if request_reference:\n
......
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