Merge branch 'geoffturk/fix-geo-range' into 'master'
Fix out of range error for geolocation in import users script See merge request grassrootseconomics/cic-internal-integration!225
This commit is contained in:
commit
1214f605a7
@ -206,7 +206,7 @@ def gen():
|
|||||||
# fake.local_latitude()
|
# fake.local_latitude()
|
||||||
p.location['latitude'] = (random.random() * 180) - 90
|
p.location['latitude'] = (random.random() * 180) - 90
|
||||||
# fake.local_latitude()
|
# fake.local_latitude()
|
||||||
p.location['longitude'] = (random.random() * 360) - 179
|
p.location['longitude'] = (random.random() * 360) - 180
|
||||||
|
|
||||||
return (old_blockchain_checksum_address, phone, p)
|
return (old_blockchain_checksum_address, phone, p)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user