mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Updated database with Chinook
This commit is contained in:
@@ -192,7 +192,7 @@ if len(sys.argv) > 1:
|
||||
}
|
||||
database[unit_name]["loadouts"].append(new_payload)
|
||||
except Exception as e:
|
||||
print(f"Could not find data for unitof type {unit_name}: {e}, skipping...")
|
||||
print(f"Could not find data for unit of type {unit_name}: {e}, skipping...")
|
||||
|
||||
# Dump everything in the database
|
||||
with open(filename, "w", encoding='utf8') as f:
|
||||
|
||||
@@ -40,7 +40,8 @@ if len(sys.argv) > 1:
|
||||
"shortLabel": unit.livery_name if hasattr(unit, "livery_name") else unit.name,
|
||||
"type": unit.__qualname__.split(".")[0],
|
||||
"enabled": False,
|
||||
"liveries": {}
|
||||
"liveries": {},
|
||||
"category": sys.argv[1]
|
||||
}
|
||||
print("Added missing unit " + unit.id)
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user