chrisbro / alfred-bear

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

[Py3] Swap byte string for string #35

Closed MattHardcastle closed 3 months ago

MattHardcastle commented 3 months ago

Py3's os.path.join can't concat a binary string and a Path or string. This change resolves the issue in Py3 by changing the binary string to a string. I suspect the binary string had no purpose and was created as a binary string as a mistake.

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