Fix bug in translations upload script (#15922)

This commit is contained in:
Adam Mills 2018-08-10 11:35:01 -04:00 committed by GitHub
parent b370b6a4e4
commit da916d7b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: