Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
655 B
Diff
14 lines
655 B
Diff
diff --git a/notifypy/os_notifiers/macos.py b/notifypy/os_notifiers/macos.py
|
|
index 68731fb..53fcee3 100644
|
|
--- a/notifypy/os_notifiers/macos.py
|
|
+++ b/notifypy/os_notifiers/macos.py
|
|
@@ -75,7 +75,7 @@ class MacOSNotifier(BaseNotifier):
|
|
def _find_installed_afplay():
|
|
"""Function to find the path for afplay"""
|
|
try:
|
|
- run_which_for_aplay = subprocess.check_output(["which", "afplay"])
|
|
+ run_which_for_aplay = subprocess.check_output(["@which@", "afplay"])
|
|
return run_which_for_aplay.decode("utf-8")
|
|
except subprocess.CalledProcessError:
|
|
logger.exception("Unable to find aplay.")
|