Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
fix: --export-csv exports csv not json
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau committed Mar 22, 2023
1 parent fdb1b8b commit 98fa996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obsidian_metadata/models/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ def move_inline_metadata(self, location: InsertLocation) -> None:
def noninteractive_export_csv(self, path: Path) -> None:
"""Export the vault metadata to CSV."""
self._load_vault()
self.vault.export_metadata(export_format="json", path=str(path))
self.vault.export_metadata(export_format="csv", path=str(path))
alerts.success(f"Exported metadata to {path}")

def noninteractive_export_json(self, path: Path) -> None:
Expand Down

0 comments on commit 98fa996

Please sign in to comment.