diff --git a/examples/covid19/import_csse_covid19_daily.py b/examples/covid19/import_csse_covid19_daily.py index 7b71a1b..2f6cf16 100755 --- a/examples/covid19/import_csse_covid19_daily.py +++ b/examples/covid19/import_csse_covid19_daily.py @@ -64,7 +64,8 @@ for p in path.glob('**/*.csv'): with (Path('output') / f'{event.uuid}.json').open('w') as _w: json.dump(event.to_feed(), _w) else: - misp.add_event(event) + event = misp.add_event(event) + misp.publish(event) if make_feed: feed_meta_generator(Path('output'))