From 9688e72f14710dad3bcc7a0c9efd08de64fb3f89 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Mon, 14 Feb 2011 20:35:53 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43332 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/AudioField.py | 2 +- product/ERP5Form/VideoField.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Form/AudioField.py b/product/ERP5Form/AudioField.py index c3097b1379..1336b14684 100644 --- a/product/ERP5Form/AudioField.py +++ b/product/ERP5Form/AudioField.py @@ -90,7 +90,7 @@ class AudioWidget(Widget.TextWidget): script_element = """<script language="JavaScript"> flowplayer("player", "%s/flowplayer.swf"); </script>""" % self.getContext(field, REQUEST).getPortalObject().portal_url() - return ' '.join(a_element,script_element) + return ' '.join([a_element,script_element]) def get_javascript_list(self, field, REQUEST=None): diff --git a/product/ERP5Form/VideoField.py b/product/ERP5Form/VideoField.py index 845deb8c6b..6054c418b9 100644 --- a/product/ERP5Form/VideoField.py +++ b/product/ERP5Form/VideoField.py @@ -107,7 +107,7 @@ class VideoWidget(Widget.TextWidget): script_element = """<script language="JavaScript"> flowplayer("player", "%s/flowplayer.swf"); </script>""" % self.getContext(field, REQUEST).getPortalObject().portal_url() - return ' '.join(a_element,script_element) + return ' '.join([a_element,script_element]) def get_javascript_list(self, field, REQUEST=None): """ -- 2.30.9