Skip to content

Commit

Permalink
Fix DMR ID import
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Apr 29, 2019
1 parent c4cb99f commit 26e9432
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def amateurradio_digital(self, options):
for row in reader:
try:
callsign_instance, _ = self._handle_callsign(row[1], source="amateurradio.digital")
# Can change callsign of a DMR ID. Only allow this from "official" sources?
DMRID.objects.update_or_create(name=row[0],
callsign=callsign_instance,
defaults={"name": row[0],
"callsign": callsign_instance})
# TODO(elnappo) use Callsign.update_location()
Expand Down

0 comments on commit 26e9432

Please sign in to comment.