Skip to content

Commit c59a872

Browse files
committed
Fix linter
1 parent 89ffca8 commit c59a872

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nearbyshops/shops/migrations/0002_auto_20181020_0450.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ def load_data(apps, schema_editor):
2222
name = tags.get('name', 'no-name')
2323
longitude = obj.get('lon', 0)
2424
latitude = obj.get('lat', 0)
25-
location = fromstr(f'POINT({longitude} {latitude})',
26-
srid=4326)
25+
location = fromstr(
26+
f'POINT({longitude} {latitude})', srid=4326
27+
)
2728
Shop(name=name, location=location).save()
2829
except KeyError:
2930
pass

0 commit comments

Comments
 (0)