Добавил теханализ
This commit is contained in:
@@ -177,8 +177,8 @@ def parse_transponders_from_xml(data_in: BytesIO, user=None):
|
||||
name=name,
|
||||
defaults={
|
||||
"norad": int(norad[0]) if norad else -1,
|
||||
"international_code": intl_code[0],
|
||||
"undersat_point": sub_sat_point[0]
|
||||
"international_code": intl_code[0] if intl_code else "",
|
||||
"undersat_point": sub_sat_point[0 if sub_sat_point else ""]
|
||||
})
|
||||
trans_obj, created = Transponders.objects.get_or_create(
|
||||
polarization=pol_obj,
|
||||
|
||||
Reference in New Issue
Block a user