mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Fix bug in translations upload script (#15922)
This commit is contained in:
parent
b370b6a4e4
commit
da916d7b27
@ -57,7 +57,7 @@ def get_translation_dict(translations, component, platform):
|
||||
if not component:
|
||||
return translations['component']
|
||||
|
||||
if component not in translations:
|
||||
if component not in translations['component']:
|
||||
translations['component'][component] = {}
|
||||
|
||||
if not platform:
|
||||
|
Loading…
x
Reference in New Issue
Block a user