More Precision in Coordinate-Search
authorNoMoKeTo <webmaster@nomoketo.de>
Mon, 27 Jan 2014 19:52:57 +0000 (20:52 +0100)
committerNoMoKeTo <webmaster@nomoketo.de>
Mon, 27 Jan 2014 19:52:57 +0000 (20:52 +0100)
tweepy/streaming.py

index b17b4f96cbcddf39debc1452ec161cfa99cb3754..533f1b3143b4dde10924ac33e01fa166f894da5e 100644 (file)
@@ -301,7 +301,7 @@ class Stream(object):
             self.parameters['track'] = ','.join(encoded_track)
         if locations and len(locations) > 0:
             assert len(locations) % 4 == 0
-            self.parameters['locations'] = ','.join(['%.2f' % l for l in locations])
+            self.parameters['locations'] = ','.join(['%.4f' % l for l in locations])
         if count:
             self.parameters['count'] = count
         if stall_warnings: