Praxxian / lava-flow

A Foundry VTT module that allows you to import your notes from Obsidian MD into Foundry journal entries.
MIT License
67 stars 10 forks source link

import will create media path if it doesn't exist rather than fail #46

Closed SomeOats closed 7 months ago

SomeOats commented 9 months ago

FilePicker.upload will fail if the target directory does not exist. Added a check to see of the directory exists, and if not create it, before the import runs. Also moved the check for s3 settings to before files are imported.

I believe this resolves #40

Praxxian commented 7 months ago

Thank you for your contribution! A couple of things:

Praxxian commented 7 months ago

Going to close this. If you could resolve the conflict in the new one, I'll merge and check it out there. Thanks!

https://github.com/Praxxian/lava-flow/pull/52