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

Fix PosixPath returned from default_dir() #251

Merged
merged 1 commit into from Dec 15, 2022
Merged

Fix PosixPath returned from default_dir() #251

merged 1 commit into from Dec 15, 2022

Conversation

kk7ds
Copy link
Owner

@kk7ds kk7ds commented Dec 15, 2022

The default_dir() needs to return a string, but #196 made it return
a PosixPath. This manifested as new users unable to open files, but
established users could, because last_dir was pulled from the config
instead of the platform module.

The default_dir() needs to return a string, but #196 made it return
a PosixPath. This manifested as new users unable to open files, but
established users could, because last_dir was pulled from the config
instead of the platform module.
@UtahDave
Copy link

This fix works for me on Ubuntu 22.04, python 3.10.6

@kk7ds
Copy link
Owner Author

kk7ds commented Dec 15, 2022

Awesome, thanks for the quick check @UtahDave !

@kk7ds kk7ds merged commit d45eff4 into py3 Dec 15, 2022
@kk7ds kk7ds deleted the fix-platform-path branch December 15, 2022 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants