Skip to content

Commit

Permalink
Fix pytroll-mongo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Nov 6, 2019
1 parent e09d387 commit 00accba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pytroll-mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def record(self):
if msg:
logger.debug("got msg %s", str(msg))
if msg.type in ['collection', 'file', 'dataset']:
self.insert_line(msg)
self.insert_files(msg)
if not self.loop:
logger.info("Stop recording")
break
Expand Down

0 comments on commit 00accba

Please sign in to comment.