Jelajahi Sumber

Fix failing tests

Oz N Tiram 8 tahun lalu
induk
melakukan
6d140d22d6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      pwman/__init__.py

+ 1 - 1
pwman/__init__.py

@@ -100,7 +100,7 @@ def set_xsel(configp, OSX):
         xselpath = shutil.which("xsel") or ""
         configp.set_value("Global", "xsel", xselpath)
     elif OSX:
-        pbcopypath = shutil.which("pbcopy")
+        pbcopypath = shutil.which("pbcopy") or ""
         configp.set_value("Global", "xsel", pbcopypath)