Browse Source

Fix failing tests

Oz N Tiram 8 năm trước cách đây
mục cha
commit
6d140d22d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)