mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Squadrons : Allow unicode characters in squadrons names
This commit is contained in:
parent
6c3987ec86
commit
28820f2e64
@ -239,7 +239,7 @@ class Squadron:
|
||||
from gen.flights.ai_flight_planner_db import tasks_for_aircraft
|
||||
from gen.flights.flight import FlightType
|
||||
|
||||
with path.open() as squadron_file:
|
||||
with path.open(encoding="utf8") as squadron_file:
|
||||
data = yaml.safe_load(squadron_file)
|
||||
|
||||
name = data["aircraft"]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
---
|
||||
name: Escadron de chasse 1/12
|
||||
nickname: Cambresis
|
||||
nickname: Cambrésis
|
||||
country: France
|
||||
role: Fighter
|
||||
aircraft: Mirage 2000C
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
---
|
||||
name: Escadron de chasse 2/5
|
||||
nickname: Ile De France
|
||||
nickname: Île De France
|
||||
country: France
|
||||
role: Fighter
|
||||
aircraft: Mirage 2000C
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user