Show More
@@ -67,7 +67,8 b' class Audio(DisplayObject):' | |||
|
67 | 67 | Audio(data=b'RAW_WAV_DATA..) |
|
68 | 68 | |
|
69 | 69 | """ |
|
70 | ||
|
70 | _read_flags = 'rb' | |
|
71 | ||
|
71 | 72 | def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False): |
|
72 | 73 | if filename is None and url is None and data is None: |
|
73 | 74 | raise ValueError("No image data found. Expecting filename, url, or data.") |
General Comments 0
You need to be logged in to leave comments.
Login now