[chirp_devel] [PATCH] [rfinder] Fix longitude formatting to work with single-digit longitudes. #2011

Tom Hayward
Fri Oct 31 13:47:16 PDT 2014


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1414788423 25200
#      Fri Oct 31 13:47:03 2014 -0700
# Node ID f2dbc1207696e60a27a654522da8486c6c3bebc1
# Parent  bd1d2bac911911051c0a7b7f345cb6a0eba58ea7
[rfinder] Fix longitude formatting to work with single-digit longitudes. #2011

diff -r bd1d2bac9119 -r f2dbc1207696 chirp/rfinder.py
--- a/chirp/rfinder.py	Wed Oct 22 11:10:10 2014 +0100
+++ b/chirp/rfinder.py	Fri Oct 31 13:47:03 2014 -0700
@@ -171,7 +171,7 @@
             "email"  : urllib.quote_plus(user),
             "pass"  : hashlib.new("md5", pw).hexdigest(),
             "lat"   : "%7.5f" % coords[0],
-            "lon"   : "%8.5f" % coords[1],
+            "lon"   : "%7.5f" % coords[1],
             "radius": "%i" % radius,
             "vers"  : "CH%s" % CHIRP_VERSION,
             }



More information about the chirp_devel mailing list