From fe0f09238736b5866d9b1029bd2315f3d7a9224d 2013-09-30 10:47:05 From: David Österberg Date: 2013-09-30 10:47:05 Subject: [PATCH] Fix extra ) syntax error --- diff --git a/IPython/lib/display.py b/IPython/lib/display.py index 243f9de..38bf3d8 100644 --- a/IPython/lib/display.py +++ b/IPython/lib/display.py @@ -138,7 +138,7 @@ class Audio(DisplayObject): def src_attr(self): import base64 if self.embed and (self.data is not None): - data = base64=base64.b64encode(self.data).decode('ascii')) + data = base64=base64.b64encode(self.data).decode('ascii') return """data:{type};base64,{base64}""".format(type=self.mimetype, base64=data) elif self.url is not None: