mfarragher / obsidiantools

Obsidian tools - a Python package for analysing an Obsidian.md vault
Other
402 stars 28 forks source link

Pathlib check #37

Open crisostomi opened 1 year ago

crisostomi commented 1 year ago

I just added an assertion to check if the input path is actually a Pathlib Path, as if it's not it then fails here. Another possibility would be to accept a string path and cast it to a pathlib path, what do you think?