[Bug]: "Open" flag does not work if path has whitespace around it #669
Labels
System: Linux
For Linux/BSD distributions
System: macOS
For the macOS operating system
Type: Bug
Something isn't working as intended
Checklist
TagStudio Version
main (9.5)
Operating System & Version
Linux 6.1.0-28-amd64 x86_64 GNU/Linux (Debian)
Description
When starting TagStudio from the command line, if it is given a path that has whitespace around it, TagStudio does not open to that library and logs "Path does not exist".
Expected Behavior
TagStudio should be able to trim whitespace around paths it is given
Steps to Reproduce
python3 tag_studio.py -o " /home/person/TagStudioLib"
or, what visual studio code apparently does,python3 tag_studio.py -o\ /home/person/TagStudioLib
)Logs
No response
The text was updated successfully, but these errors were encountered: