chrisbro / alfred-bear

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

[Py3] Support Py3's json library #38

Closed MattHardcastle closed 3 months ago

MattHardcastle commented 3 months ago

Py3's json library dropped the encoding parameter on json.load. This change updates workflow to support versions of json.load that support the parameter and those that don't.

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