Skip to content

Commit 8f0ef7f

Browse files
committed
compress one line
1 parent af41fd9 commit 8f0ef7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

climada/entity/exposures/nightlight.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ def load_nightlight_nasa(bounds, req_files, year):
254254

255255
with Image.open(path.join(SYSTEM_DIR, file.replace('*', str(year)))) \
256256
as im_nl:
257-
aux_nl = im_nl.getchannel(0)
258-
cut_nl_nasa(aux_nl, idx_info, nightlight, in_lat, in_lon,
257+
cut_nl_nasa(im_nl.getchannel(0), idx_info, nightlight, in_lat, in_lon,
259258
in_lat_nb, in_lon_nb)
260259

261260
idx_info[1] = idx

0 commit comments

Comments
 (0)