Skip to content

Commit

Permalink
get rid of print
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Nov 14, 2024
1 parent 2f1a2bc commit 2747880
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nomenclature/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,7 @@ def cli_diff_definitions_to_excel(
],
axis="columns",
)
if output:
diff.to_excel(output, sheet_name=sheet_name, index=False)
else:
print(output)
diff.to_excel(output, sheet_name=sheet_name, index=False)


@cli.command("list-missing-variables")
Expand Down

0 comments on commit 2747880

Please sign in to comment.