Skip to content

Commit

Permalink
BUG: [mktplace] progress counters start at 1, not 0
Browse files Browse the repository at this point in the history
  • Loading branch information
lacabra committed Mar 28, 2018
1 parent 132dffd commit af85ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalyst/marketplace/marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def ingest(self, ds_name=None, start=None, end=None, force_download=False):
# iter(decoder.parts),
# True,
# label='Processing files') as part:
counter = 0
counter = 1
for part in decoder.parts:
log.info("Processing file {} of {}".format(
counter, len(decoder.parts)))
Expand Down Expand Up @@ -791,7 +791,7 @@ def publish(self, dataset, datadir, watch):
files = []
for idx, file in enumerate(filenames):
log.info('Uploading file {} of {}: {}'.format(
idx, len(filenames), file))
idx+1, len(filenames), file))
files = []
files.append(('file', open(file, 'rb')))

Expand Down

0 comments on commit af85ee3

Please sign in to comment.