menuinst icon indicating copy to clipboard operation
menuinst copied to clipboard

Typing wrong for windows.py

Open wolfv opened this issue 1 year ago • 0 comments

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"))

wolfv avatar Dec 13 '24 09:12 wolfv