Show More
@@ -138,7 +138,7 b' class Audio(DisplayObject):' | |||
|
138 | 138 | def src_attr(self): |
|
139 | 139 | import base64 |
|
140 | 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 | 142 | return """data:{type};base64,{base64}""".format(type=self.mimetype, |
|
143 | 143 | base64=data) |
|
144 | 144 | elif self.url is not None: |
General Comments 0
You need to be logged in to leave comments.
Login now