Fix #5524 Zero division error in exif.py
authorAndrew Browning <ayleph@thisshitistemp.com>
Wed, 20 Sep 2017 04:20:43 +0000 (00:20 -0400)
committerAndrew Browning <ayleph@thisshitistemp.com>
Wed, 20 Sep 2017 04:22:19 +0000 (00:22 -0400)
commit07c535c876b22609ae0fdd9753f27296793cb1d4
tree426bfb79524a9bba77bc5f32f7c105c1080b4944
parent763eae89d9c13459a9e8ef1de384a7025d5820dd
Fix #5524 Zero division error in exif.py

This patch implements the safe_gps_ratio_divide function for gps
direction and altitude values to prevent a zero divide error on
malformed GPS data.
mediagoblin/tools/exif.py