aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/media_types
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-06-23 17:21:22 +0200
committerJoar Wandborg <git@wandborg.com>2012-06-23 17:21:22 +0200
commitc72d661bed5d83d952dc2361a86dfe40ff435c54 (patch)
treea84e1a1bfe943fe6ae16cea115635c89c558cdd1 /mediagoblin/media_types
parentb105540141ce3557456059b0e5dd5e589063e2f3 (diff)
downloadmediagoblin-c72d661bed5d83d952dc2361a86dfe40ff435c54.tar.lz
mediagoblin-c72d661bed5d83d952dc2361a86dfe40ff435c54.tar.xz
mediagoblin-c72d661bed5d83d952dc2361a86dfe40ff435c54.zip
Fixed EXIF longitude bug
- Negative or 'W' longitudes were not accounted for. - pyflakes fixes.
Diffstat (limited to 'mediagoblin/media_types')
-rw-r--r--mediagoblin/media_types/image/processing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/media_types/image/processing.py b/mediagoblin/media_types/image/processing.py
index bbfcd32d..487d593a 100644
--- a/mediagoblin/media_types/image/processing.py
+++ b/mediagoblin/media_types/image/processing.py
@@ -30,7 +30,8 @@ _log = logging.getLogger(__name__)
def resize_image(entry, filename, new_path, exif_tags, workdir, new_size,
size_limits=(0, 0)):
- """Store a resized version of an image and return its pathname.
+ """
+ Store a resized version of an image and return its pathname.
Arguments:
entry -- the entry for the image to resize