Fix logging.

Same problem as last time: we were logging during initialization
before the log handlers could be initialized.
This commit is contained in:
Dan Albert
2020-10-30 16:13:34 -07:00
parent f5047fc0cc
commit b34de70fc7
3 changed files with 22 additions and 3 deletions

View File

@@ -911,7 +911,7 @@ CARRIER_TAKEOFF_BAN: List[Type[FlyingType]] = [
Units separated by country.
country : DCS Country name
"""
FACTIONS: Dict[str, Faction] = FactionLoader.load_factions()
FACTIONS = FactionLoader()
CARRIER_TYPE_BY_PLANE = {
FA_18C_hornet: CVN_74_John_C__Stennis,