Skip to content

Commit 09ba488

Browse files
micro-fix: set the correct block for logging
1 parent e8a92c3 commit 09ba488

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

climada/util/finance.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ def income_group(cntry_iso, ref_year, shp_file=None):
123123
# take value from natural earth repository
124124
close_year, close_val = nat_earth_adm0(cntry_iso, 'INCOME_GRP',
125125
shp_file=shp_file)
126-
finally:
127-
LOGGER.info('Income group %s %s: %s.', cntry_iso, close_year, close_val)
128126

127+
LOGGER.info('Income group %s %s: %s.', cntry_iso, close_year, close_val)
129128
return close_year, close_val
130129

131130
def gdp(cntry_iso, ref_year, shp_file=None, per_capita=False):

0 commit comments

Comments
 (0)