mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2024-12-21 14:07:52 +00:00
copy by value not ref
This commit is contained in:
parent
e33d46f1cb
commit
8a94a7e7a8
@ -50,9 +50,9 @@ def flight_profile_by_type(sonde_type):
|
|||||||
|
|
||||||
for _def_type in SONDE_TYPE_PREDICT_DEFAULTS:
|
for _def_type in SONDE_TYPE_PREDICT_DEFAULTS:
|
||||||
if _def_type in sonde_type:
|
if _def_type in sonde_type:
|
||||||
return SONDE_TYPE_PREDICT_DEFAULTS[_def_type]
|
return SONDE_TYPE_PREDICT_DEFAULTS[_def_type].copy()
|
||||||
|
|
||||||
return PREDICT_DEFAULTS
|
return PREDICT_DEFAULTS.copy()
|
||||||
|
|
||||||
|
|
||||||
def getDensity(altitude):
|
def getDensity(altitude):
|
||||||
|
Loading…
Reference in New Issue
Block a user