chrisbro / alfred-bear

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

[Py3] Support Py3 getcwd API #37

Closed MattHardcastle closed 3 months ago

MattHardcastle commented 3 months ago

Python3 removed the getcwdu from the os module. This change updates workflow to use getcwdu if it's available, otherwise use getcwd.

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