From 134032b66d65d09bdcbe764030f56075d677c402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Gru=CC=88ndger?= Date: Fri, 27 Apr 2018 22:16:12 +0200 Subject: [PATCH] Bugfix --- ogn/commands/bulkimport.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ogn/commands/bulkimport.py b/ogn/commands/bulkimport.py index 04ca6be..bddbdec 100644 --- a/ogn/commands/bulkimport.py +++ b/ogn/commands/bulkimport.py @@ -74,8 +74,6 @@ def convert(sourcefile, path=''): wr_rb = csv.writer(fout_rb, delimiter=',') wr_rb.writerow(ReceiverBeacon.get_csv_columns()) - receivers = dict() - print('Start importing ogn-logfile') for line in fin: num_lines += 1 @@ -91,7 +89,7 @@ def convert(sourcefile, path=''): wr_rb.writerow(beacon.get_csv_values()) receiver_beacons = list() - beacon = message_to_beacon(line.strip(), reference_date=reference_date, receivers=receivers) + beacon = message_to_beacon(line.strip(), reference_date=reference_date) if beacon is not None: if isinstance(beacon, AircraftBeacon): aircraft_beacons.append(beacon)