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

« back to all changes in this revision

Viewing changes to ivle/webapp/media.py

Remove a bit of debugging cruft from ivle.webapp.media.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
 
77
77
        # Get out if it is unreadable or a directory.
78
78
        if not os.access(filename, os.F_OK):
79
 
            raise NotFound(filename)
 
79
            raise NotFound()
80
80
        if not os.access(filename, os.R_OK) or os.path.isdir(filename):
81
81
            raise Forbidden()
82
82