forgot to add ':'

This commit is contained in:
Justin 2023-06-14 17:11:17 +08:00 committed by GitHub
parent 8c776d6660
commit bd6e28272a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -716,11 +716,11 @@ def updateEconomic(api_key, logf):
'South Africa':'ZA'}
country = all_economic_settings['countries']
if all_economic_settings['importance'] == 'Low - High'
if all_economic_settings['importance'] == 'Low - High':
importance = -1
elif all_economic_settings['importance'] == 'Med - High'
elif all_economic_settings['importance'] == 'Med - High':
importance = 0
elif all_economic_settings['importance'] == 'High'
elif all_economic_settings['importance'] == 'High':
importance = 1
country_codes_list = [country_codes[c] for c in country]
result = ",".join(country_codes_list)