chrisbro / alfred-bear

Alfred 3 workflow to create and search notes in Bear.
335 stars 20 forks source link

[Py3] Use sys.executable for python path #41

Closed MattHardcastle closed 3 months ago

MattHardcastle commented 3 months ago

/usr/bin/python doesn't exist in newer versions of macOS. The sys.executable variable always points to the path of the executable for the running version of Python. Using is ensures support for multiple python3.

This PR is part of a collection of changes to support Python3. The collection is broken into multiple stages. This change is part of stage 1 and should be safe to merge at any time.

re: https://github.com/chrisbro/alfred-bear/issues/33