Small PEP-8 compliance fix.

This commit sponsored by Mats Sjöberg.  Thanks!
This commit is contained in:
Christopher Allan Webber 2013-02-26 10:33:51 -06:00
parent ab1f65e6d7
commit 67c7c81162

View File

@ -126,9 +126,9 @@ def get_user_media_entry(controller):
raise NotFound()
media = MediaEntry.query.filter_by(
slug = request.matchdict['media'],
state = u'processed',
uploader = user.id).first()
slug=request.matchdict['media'],
state=u'processed',
uploader=user.id).first()
if not media:
# no media via slug? Grab it via object id