From 0a17a456a8ccffbbc8f6f4b19bda192a692a3294 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 28 Aug 2023 22:37:59 -0400 Subject: [PATCH] Now copying input data when placing it into database. --- owrx/aircraft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/aircraft.py b/owrx/aircraft.py index f9d637d5..c8a56cd1 100644 --- a/owrx/aircraft.py +++ b/owrx/aircraft.py @@ -132,7 +132,7 @@ class AircraftManager(object): # If still no ID in the database... if id not in self.aircraft: # Create a new record - self.aircraft[id] = data + self.aircraft[id] = data.copy() item = self.aircraft[id] else: # Previous data and position