minor correcton for site_packages.exists()

This commit is contained in:
Barry-Thomas-Paul: Moss 2023-10-31 20:13:43 -04:00
parent 0453092831
commit db3466b716
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class PipRunner(unohelper.Base, XJob):
if self._is_flatpak:
site_packages = self.get_flatpak_site_packages_dir()
ss = str(site_packages)
if site_packages.exists and ss not in sys.path:
if site_packages.exists() and ss not in sys.path:
sys.path.append(ss)
def execute(self, *args: Tuple[NamedValue, ...]) -> None: