Commit a46f69cc authored by Aaron1011's avatar Aaron1011
Browse files

Merge pull request #389 from NoMoKeTo/patch-1

More Precision in Coordinate-Search
parents 7147f0d9 9a4b9a04
...@@ -301,7 +301,7 @@ class Stream(object): ...@@ -301,7 +301,7 @@ class Stream(object):
self.parameters['track'] = ','.join(encoded_track) self.parameters['track'] = ','.join(encoded_track)
if locations and len(locations) > 0: if locations and len(locations) > 0:
assert len(locations) % 4 == 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: if count:
self.parameters['count'] = count self.parameters['count'] = count
if stall_warnings: if stall_warnings:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment