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 path object and format msgs path for message catalog.load #272

Conversation

israel-dryer
Copy link
Owner

Some users experiences issues when passing a Window's style path "``" to the MessageCatalog.load method. I convert the dirname argument internally to a Path object (or ingest the path object that is the argument) and then pass a reformatted path to the msgcat command using the `as_posix()` method to return the path with forward slashes.

@israel-dryer israel-dryer merged commit e4a6b6d into master Apr 22, 2022
@israel-dryer israel-dryer linked an issue Apr 22, 2022 that may be closed by this pull request
@israel-dryer israel-dryer deleted the Allow-path-object-and-format-msgs-path-for-MessageCatalog.load branch July 21, 2022 14:33
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

Successfully merging this pull request may close these issues.

Tkinter path handling under Windows with MessageCatalog.load
1 participant