##// END OF EJS Templates
Fix extra ) syntax error
David Österberg -
Show More
@@ -138,7 +138,7 b' class Audio(DisplayObject):'
138 def src_attr(self):
138 def src_attr(self):
139 import base64
139 import base64
140 if self.embed and (self.data is not None):
140 if self.embed and (self.data is not None):
141 data = base64=base64.b64encode(self.data).decode('ascii'))
141 data = base64=base64.b64encode(self.data).decode('ascii')
142 return """data:{type};base64,{base64}""".format(type=self.mimetype,
142 return """data:{type};base64,{base64}""".format(type=self.mimetype,
143 base64=data)
143 base64=data)
144 elif self.url is not None:
144 elif self.url is not None:
General Comments 0
You need to be logged in to leave comments. Login now