Fixed EXIF longitude bug

- Negative or 'W' longitudes were not accounted for.
- pyflakes fixes.
This commit is contained in:
Joar Wandborg
2012-06-23 17:21:22 +02:00
parent b105540141
commit c72d661bed
2 changed files with 16 additions and 4 deletions

View File

@@ -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