aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-21 14:37:44 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-09-19 08:11:39 -0700
commitb643a9cd8087dc2774d56dc31b3eae074727245c (patch)
treeb7de91fdf85c8f2196f13a5ea199e908a41d7234
parent4502dfca89df6929f58fb2603f79d407fed8ab38 (diff)
downloadmediagoblin-b643a9cd8087dc2774d56dc31b3eae074727245c.tar.lz
mediagoblin-b643a9cd8087dc2774d56dc31b3eae074727245c.tar.xz
mediagoblin-b643a9cd8087dc2774d56dc31b3eae074727245c.zip
skip image resizing if possible
-rw-r--r--mediagoblin/db/models.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 37bd2f4f..809e4722 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -287,7 +287,6 @@ class MediaEntry(Base, MediaEntryMixin):
"""
media_file = MediaFile.query.filter_by(media_entry=self.id,
name=unicode(file_key)).first()
- name=file_key).first()
file_metadata = media_file.file_metadata or {}