Skip to content

Commit a2496e5

Browse files
author
Ben
committed
stickler3
1 parent e8d8795 commit a2496e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/iotools/cgiar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def download_SRTM(latitude, longitude, srtm_arc_sec=3,
7979
zipfile = ZipFile(io.BytesIO(res.content))
8080
ext = '.tif'
8181
files = zipfile.namelist()
82-
file = [ f for f in files if ext in f ][0]
83-
path= zipfile.extract(file, path=path_to_save)
82+
file = [ f for f in files if ext in f][0]
83+
path = zipfile.extract(file, path=path_to_save)
8484
img = skimage.io.imread(path)
8585
return img, path

0 commit comments

Comments
 (0)