Migrator adjustment for 'radio_presets'

This commit is contained in:
Raffson 2023-08-13 18:31:57 +02:00
parent 7baba78bca
commit 77b88de40e
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -123,6 +123,7 @@ class Migrator:
)
try_set_attr(s, "primary_task", preferred_task)
try_set_attr(s, "max_size", 12)
try_set_attr(s, "radio_presets", {})
if isinstance(s.country, str):
c = country_dict.get(s.country, s.country)
s.country = countries_by_name[c]()