diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-12 15:52:20 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-12 15:52:20 -0500 |
commit | 4259ad5bf1680896090290e7327b49a053a8447b (patch) | |
tree | 69331aaf7077df659f00b8aafa2f69f979345d81 | |
parent | 60eeb4566457a127c7783e9ac7953daebf3e4592 (diff) | |
download | mediagoblin-4259ad5bf1680896090290e7327b49a053a8447b.tar.lz mediagoblin-4259ad5bf1680896090290e7327b49a053a8447b.tar.xz mediagoblin-4259ad5bf1680896090290e7327b49a053a8447b.zip |
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>
-rw-r--r-- | mediagoblin/db/mixin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/db/mixin.py b/mediagoblin/db/mixin.py index 26e41a3b..ee8525c2 100644 --- a/mediagoblin/db/mixin.py +++ b/mediagoblin/db/mixin.py @@ -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" |