# HG changeset patch # User Tuomo Valkonen # Date 1516497301 0 # Node ID 86b42610d5a8ce8adcf8f5c3274f81f78a02d5b8 # Parent c3e95212e3f0451afbc227b3a606ee070c6f7af0 #!python3 in script file diff -r c3e95212e3f0 -r 86b42610d5a8 README.md --- a/README.md Sun Jan 21 01:14:06 2018 +0000 +++ b/README.md Sun Jan 21 01:15:01 2018 +0000 @@ -11,15 +11,15 @@ - [rumps](https://github.com/jaredks/rumps) (Ridiculously Uncomplicated macOS Python Statusbar apps) - [keyring](https://pypi.python.org/pypi/keyring) -To create a standalone app, you can +For passphrase use authentication to work correctly, it is useful to create create a standalone Mac app. This can be don with `py2app`. You can install it with pip install py2app -(for alternatives see [py2app documentation](https://py2app.readthedocs.io/en/latest/install.html#installing-with-pip)), and then +(for alternatives see [py2app documentation](https://py2app.readthedocs.io/en/latest/install.html#installing-with-pip)). Then, to build the standalone app, run python3 setup.py py2app -This will place the app under `dist/`. +The apps hould be placed under `dist/`. ## Usage diff -r c3e95212e3f0 -r 86b42610d5a8 config.py --- a/config.py Sun Jan 21 01:14:06 2018 +0000 +++ b/config.py Sun Jan 21 01:15:01 2018 +0000 @@ -1,3 +1,4 @@ +#!/usr/local/bin/python3 # # Borgend configuration loader # diff -r c3e95212e3f0 -r 86b42610d5a8 instance.py --- a/instance.py Sun Jan 21 01:14:06 2018 +0000 +++ b/instance.py Sun Jan 21 01:15:01 2018 +0000 @@ -89,7 +89,7 @@ res['type']='UNKNOWN' return res except: - logging.debug('JSON parse failed on: "%s"' % line) + logging.debug('JSON parse failed on: "%s"' % str(line)) errmsg=line for line in iter(stream.readline, b''):