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

Allow paths with spaces in excluded directories list #66

Open
ju-kreber opened this issue Oct 22, 2018 · 0 comments
Open

Allow paths with spaces in excluded directories list #66

ju-kreber opened this issue Oct 22, 2018 · 0 comments

Comments

@ju-kreber
Copy link

The list of excluded directories is space-separated and it seems like quoting path names with " or ' or escaping with \ doesn't have an effect. This is the behavior I would expect from the code
dirs_excluded = settings.value('directories_excluded').strip().split()

I know that really "parsing" the setting is some inconvenient work and so I'd like to suggest to check if the last character of a field (after split) is a \ and then just concatenate it with the next one and a space to allow at least the escaping approach.

However I have not looked deeper in the code how the results are used and if this would introduce some trouble elsewhere..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant