Streamlining

This commit is contained in:
Raffson
2023-10-07 18:53:16 +02:00
parent 75498fe061
commit 62a40db9ea
6 changed files with 21 additions and 25 deletions

View File

@@ -366,9 +366,7 @@ class AircraftType(UnitType[Type[FlyingType]]):
@staticmethod
def _migrator() -> Dict[str, str]:
return {
"F-15E Strike Eagle (AI)": "F-15E Strike Eagle"
}
return {"F-15E Strike Eagle (AI)": "F-15E Strike Eagle"}
@classmethod
def named(cls, name: str) -> AircraftType: