Fix the last bit preventing all the unit tests from passing in media types->plugins

The last commit was also small, so Jeff Moe gets... two!  Two sponsored commits!
Ah ah ah. </count_voice>
This commit is contained in:
Christopher Allan Webber 2013-07-12 15:52:20 -05:00
parent 60eeb45664
commit 4259ad5bf1

View File

@ -205,7 +205,8 @@ class MediaEntryMixin(GenerateSlugMixin):
"""
manager = hook_handle('get_media_manager', self.media_type)
if manager:
return manager
return manager(self)
# Not found? Then raise an error
raise FileTypeNotSupported(
"MediaManager not in enabled types. Check media_type plugins are"