chat routines
This commit is contained in:
SDE
2023-08-08 16:09:16 +03:00
parent f62c603ad4
commit 014ccf8f45
3 changed files with 17 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ def create_airports_by_airportsList(airportsList, city=None):
kwargs.update({'iata_code': airport_Dict['iata']})
airport = Airport.objects.get(**kwargs)
except Airport.DoesNotExist:
print(f' - - {airport_Dict["int_name"]} не найден в БД > добавляем')
print(f' - - {airport_Dict["iata"]} не найден в БД > добавляем')
except Exception as e:
print(f'error = {str(e)}')