mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Migrator adjustment for 'radio_presets'
This commit is contained in:
parent
7baba78bca
commit
77b88de40e
@ -123,6 +123,7 @@ class Migrator:
|
|||||||
)
|
)
|
||||||
try_set_attr(s, "primary_task", preferred_task)
|
try_set_attr(s, "primary_task", preferred_task)
|
||||||
try_set_attr(s, "max_size", 12)
|
try_set_attr(s, "max_size", 12)
|
||||||
|
try_set_attr(s, "radio_presets", {})
|
||||||
if isinstance(s.country, str):
|
if isinstance(s.country, str):
|
||||||
c = country_dict.get(s.country, s.country)
|
c = country_dict.get(s.country, s.country)
|
||||||
s.country = countries_by_name[c]()
|
s.country = countries_by_name[c]()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user