fix osxcoreimage for the latest kivy version

This commit is contained in:
Mathieu Virbel 2011-11-29 17:54:17 +01:00
parent 42a663a4f9
commit 90de4f3e1c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class ImageLoaderOSXCoreImage(ImageLoaderBase):
Logger.warning('Image: Unable to load image <%s>' % filename) Logger.warning('Image: Unable to load image <%s>' % filename)
raise Exception('Unable to load image') raise Exception('Unable to load image')
w, h, imgtype, data = ret w, h, imgtype, data = ret
return ImageData(w, h, imgtype, data) return (ImageData(w, h, imgtype, data), )
# register # register
ImageLoader.register(ImageLoaderOSXCoreImage) ImageLoader.register(ImageLoaderOSXCoreImage)