Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
stalpers committed Nov 19, 2020
1 parent f0d8c6a commit cdd965c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions exiffield/getters.py
Expand Up @@ -46,17 +46,17 @@ def inner(exif: ExifType) -> Any:


def get_gps_latitude(exif: ExifType) -> str:
"""
"""
Return the latitude (decimal) where the file was taken.
"""
try:
return exif['GPSLatitude']['num']
except KeyError:
return 0

return 0

def get_gps_longitude(exif: ExifType) -> str:
"""
"""
Return the latitude (decimal) where the file was taken.
"""
try:
Expand Down

0 comments on commit cdd965c

Please sign in to comment.