We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
joft/joft/utils.py
Line 22 in 70eac85
This adds each letter separately:
>>> import platformdirs >>> possible_paths = set() >>> possible_paths.add(platformdirs.user_config_dir()) >>> possible_paths.update(*platformdirs.site_config_dir(multipath=True).split(":")) >>> possible_paths {'g', 'x', '/home/churchyard/.config', 'e', '/', 't', 'c', 'd'}
set.update takes one or more iterables to add from one by one, not individual items to add. The * is unnecessary.
*
The text was updated successfully, but these errors were encountered:
This was already fixed today in #35
Sorry, something went wrong.
No branches or pull requests
joft/joft/utils.py
Line 22 in 70eac85
This adds each letter separately:
set.update takes one or more iterables to add from one by one, not individual items to add. The
*
is unnecessary.The text was updated successfully, but these errors were encountered: