Now copying input data when placing it into database.

This commit is contained in:
Marat Fayzullin 2023-08-28 22:37:59 -04:00
parent 7c29451694
commit 0a17a456a8
1 changed files with 1 additions and 1 deletions

View File

@ -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