Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more robust way of joining path is needed. #361

Open
lazyhope opened this issue Aug 27, 2022 · 0 comments
Open

A more robust way of joining path is needed. #361

lazyhope opened this issue Aug 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@lazyhope
Copy link
Contributor

There are some lines of code that join parent path to child path using string concatenation, this could create duplicate slash // as indicated in a50de51.
A more robust way using module functions such as pathlib.Path is needed to avoid generating illegal path. Moreover, it may be ideal to use pathlib module to handle every path modifications.

@dgarijo dgarijo added the enhancement New feature or request label Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants