From 561ae62d5e492da3ff35dcec49a0fe4609e42835 Mon Sep 17 00:00:00 2001 From: geoffturk Date: Tue, 13 Jul 2021 09:42:53 +0000 Subject: [PATCH] Fix out of range error for geolocation in import users script --- apps/data-seeding/create_import_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/data-seeding/create_import_users.py b/apps/data-seeding/create_import_users.py index dc252fce..aa8e4e59 100644 --- a/apps/data-seeding/create_import_users.py +++ b/apps/data-seeding/create_import_users.py @@ -206,7 +206,7 @@ def gen(): # fake.local_latitude() p.location['latitude'] = (random.random() * 180) - 90 # fake.local_latitude() - p.location['longitude'] = (random.random() * 360) - 179 + p.location['longitude'] = (random.random() * 360) - 180 return (old_blockchain_checksum_address, phone, p)