35
35
or a plugin object, in which case its name is looked up.'''
36
36
if not isinstance(plugin, basestring):
37
37
plugin = req.reverse_plugins[plugin]
39
39
return os.path.join(ivle.conf.root_dir, '+media', plugin, path)
41
41
class MediaFileView(BaseView):