Closed 4cardbot closed 3 months ago
Hi thanks so much for the contrib!!!! Much appreciated.
Just one small thing- I think this causes one small issue which is that when you run paramit run reports/..../main.toml
on the generated config files, it'll use that as the path.
I think the behaviour makes sense if we make it such that if the .toml
file is being used as a input, it should look in config.meta.script_path
and use that path instead of the path to the .toml
file.
Do you think you could make this small change to the PR?
Thank you!!
@tovacinni I love the work that you folks are doing to simplify this tedious process.
I missed the use-case where .toml is being used. Have fixed it as you suggested.
A similar issue occurs if I use os.getcwd()
in the script to fetch the current directory for a similar use-case.
Trying to fix it as well.
Fixed the issue with os.getcwd()
as well.
LGTM- thanks again for the contribution!!
This change resolves #72 by assigning the file variable equal to the original script path at the start of temp_file script.