~/template.md doesn't work for a template file. Has this error:
[Could not read template at '~/template.md']
The ~ should be expanded the same way it is for journal file themselves.
Current workaround is to use the full path to a file (e.g. /Users/wren/template.md) instead.
There might be other instances of this behavior throughout the code, so the fix for this should include a simple function to handle properly expanding paths, and change all instances in the codebase to use this new function.
The added code was:
path = os.path.expanduser(path)
Most helpful comment
704 solved a similar problem in the upgrade script.
The added code was: