~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/media.py

Fix some missing error imports in the webapp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import ivle.conf
27
27
from ivle.webapp.base.views import BaseView
28
28
from ivle.webapp.base.plugins import ViewPlugin
29
 
from ivle.webapp.errors import NotFound
 
29
from ivle.webapp.errors import NotFound, Forbidden
30
30
 
31
31
def media_url(req, plugin, path):
32
32
    '''Generates a URL to a media file.