Skip to content

Commit

Permalink
fix index filename
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhanson committed Feb 6, 2017
1 parent e0308b6 commit 811ee7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modispds/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def ingest(start_date, end_date, product=_PRODUCT, outdir=''):
for gran in granules:
metadata.append(ingest_granule(gran, outdir=outdir))
# upload index file
fname = make_scene_list(metadata, fout=day.date() + '_scenes.txt')
fname = make_scene_list(metadata, fout=str(day.date()) + '_scenes.txt')
push_to_s3(fname, bucket, prefix=product)
logger.info('End processing date %s' % day.date())

Expand Down

0 comments on commit 811ee7f

Please sign in to comment.