Fix out of range error for geolocation in import users script
This commit is contained in:
parent
d6782abbcc
commit
561ae62d5e
@ -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