aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-08-13 12:52:56 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-08-13 12:52:56 -0500
commitff520ff53b7a17204c64beea28c9dbde13c5cf26 (patch)
tree9c4603d010c03e40c7075866c1f464b5809331f1
parent2e5ea6b9b79244a0436264c5f1b606ec5328b70e (diff)
downloadmediagoblin-ff520ff53b7a17204c64beea28c9dbde13c5cf26.tar.lz
mediagoblin-ff520ff53b7a17204c64beea28c9dbde13c5cf26.tar.xz
mediagoblin-ff520ff53b7a17204c64beea28c9dbde13c5cf26.zip
Converting multi-line-string-comment to a real comment.
-rw-r--r--mediagoblin/process_media/__init__.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/mediagoblin/process_media/__init__.py b/mediagoblin/process_media/__init__.py
index 18836919..e1289a4c 100644
--- a/mediagoblin/process_media/__init__.py
+++ b/mediagoblin/process_media/__init__.py
@@ -147,11 +147,9 @@ def process_image(entry):
with closing(thumb_file):
thumb.save(thumb_file, "JPEG", quality=90)
- """
- If the size of the original file exceeds the specified size of a `medium`
- file, a `medium.jpg` files is created and later associated with the media
- entry.
- """
+ # If the size of the original file exceeds the specified size of a `medium`
+ # file, a `medium.jpg` files is created and later associated with the media
+ # entry.
medium = Image.open(queued_filename)
medium_processed = False