Commit c796c596 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[cmd] model_info: Export to stdout if csv/json is not selected

parent 536506f4
......@@ -593,6 +593,9 @@ def model_info(model_file, output_dir='./',
make_json = kwargs['json']
make_csv = kwargs['csv']
if not (make_json and make_csv):
default = True
def dump_places_to_csv(places, output_filename):
"""Write informations about places in the model to a csv."""
with open(output_filename, 'w') as csvfile:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment