Skip to content

Commit d669d55

Browse files
authored
Update io.py
Minor bug, check the github issues page for details
1 parent 64df7ea commit d669d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drpy/io/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def download(self,savedir='./'):
206206
for i,file in enumerate(self.filename):
207207
url = self.server + file
208208
if self.verbose:
209-
print('Downloading {} of {}: {}'.format(i,len(self.filename),url))
209+
print('Downloading {} of {}: {}'.format(i+1,len(self.filename),url))
210210

211211
cmd = 'curl -u ' + self.username+':'+self.username+' ' + url + ' -o ' + \
212212
os.path.basename(savedir+file)

0 commit comments

Comments
 (0)