Skip to content

Commit

Permalink
Fix lotw import
Browse files Browse the repository at this point in the history
  • Loading branch information
elnappo committed Apr 26, 2019
1 parent 37a87ae commit 043b112
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project_novis/callsign/management/commands/import_lotw.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def run(self, url):
for row in reader:
if row[0]:
raw_callsign = self._extract_callsign(row[0])
if not raw_callsign:
continue
if row[1] and row[2]:
callsigns[raw_callsign] = {"last_activity": parse(row[1] + "T" + row[2] + "Z")}
else:
Expand Down

0 comments on commit 043b112

Please sign in to comment.