summaryrefslogtreecommitdiff
path: root/dev-python/geopy/files/1.1.3-formatpy3.patch
blob: 35c0b0f30c4f567e2c0f8b0df5177e5d28a1f210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://github.com/geopy/geopy/commit/fe0cd3c6c92b7d7ac47cb2292260485c5b3791c1
diff --git a/geopy/format.py b/geopy/format.py
index 965a127..63b1e94 100644
--- a/geopy/format.py
+++ b/geopy/format.py
@@ -30,7 +30,7 @@
 ABBR_ARCSEC = 'arcsec'
 
 DEGREES_FORMAT = (
-    "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)s%(arcsec)s"
+    "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)g%(arcsec)s"
 )
 
 UNICODE_SYMBOLS = {