Skip to content

Commit

Permalink
Merge pull request #24 from syedhamidali/patch-2
Browse files Browse the repository at this point in the history
Update io.py
  • Loading branch information
dopplerchase authored Oct 27, 2022
2 parents 64df7ea + d669d55 commit a0fd5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drpy/io/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def download(self,savedir='./'):
for i,file in enumerate(self.filename):
url = self.server + file
if self.verbose:
print('Downloading {} of {}: {}'.format(i,len(self.filename),url))
print('Downloading {} of {}: {}'.format(i+1,len(self.filename),url))

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

0 comments on commit a0fd5e2

Please sign in to comment.