Skip to content

Commit

Permalink
Don't set location to repeater as field will be removed
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed May 26, 2019
1 parent e69d792 commit f4ef92e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def handle(self, *args, **options):
callsign=call_sign_instance,
defaults={"callsign": call_sign_instance,
"website": repeater.get("website", None),
"location": call_sign_instance.location,
"altitude": repeater.get("agl", None),
"created_by_id": self._import_user.id,
"source": self.source})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def handle(self, *args, **options):
repeater_instance, new_repeater = Repeater.objects.get_or_create(callsign=call_sign_instance,
defaults={"callsign": call_sign_instance,
"website": repeater["url"],
"location": Point(repeater["lon"], repeater["lat"]),
"created_by": self._import_user,
"source": self.source})
transmitter_instance, new_transmitter = Transmitter.objects.get_or_create(
Expand Down

0 comments on commit f4ef92e

Please sign in to comment.