##// END OF EJS Templates
Fix error message (image -> audio).
Matan Gover -
Show More
@@ -85,7 +85,7 b' class Audio(DisplayObject):'
85 85
86 86 def __init__(self, data=None, filename=None, url=None, embed=None, rate=None, autoplay=False):
87 87 if filename is None and url is None and data is None:
88 raise ValueError("No image data found. Expecting filename, url, or data.")
88 raise ValueError("No audio data found. Expecting filename, url, or data.")
89 89 if embed is False and url is None:
90 90 raise ValueError("No url found. Expecting url when embed=False")
91 91
General Comments 0
You need to be logged in to leave comments. Login now