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

Typing wrong for windows.py #286

Open
wolfv opened this issue Dec 13, 2024 · 0 comments
Open

Typing wrong for windows.py #286

wolfv opened this issue Dec 13, 2024 · 0 comments

Comments

@wolfv
Copy link

wolfv commented Dec 13, 2024

I think the return type should be Optional[Path], right?

    @property
    def quick_launch_location(self) -> Path:
        if self.mode == "system":
            # TODO: Check if this is true?
            warnings.warn("Quick launch menus are not available for system level installs")
            return
        return Path(windows_folder_path(self.mode, False, "quicklaunch"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant