Fix the path to the Safari binary
- ID
e994d24- date
2024-01-04 08:03:51+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
2d8e770- message
Fix the path to the Safari binary- changed files
1 file, 3 additions, 1 deletion
Changed files
textexpander/get_mastodon_text.py (2535) → textexpander/get_mastodon_text.py (2563)
diff --git a/textexpander/get_mastodon_text.py b/textexpander/get_mastodon_text.py
index 1255fff..95aa657 100755
--- a/textexpander/get_mastodon_text.py
+++ b/textexpander/get_mastodon_text.py
@@ -56,7 +56,9 @@ def normalise_text(text: str) -> str:
if __name__ == "__main__":
- url = subprocess.check_output(["/usr/local/bin/safari", "url"]).decode("utf8")
+ url = subprocess.check_output(
+ ["/Users/alexwlchan/.cargo/bin/safari", "url"]
+ ).decode("utf8")
u = hyperlink.URL.from_text(url)