gnucash unstable: Load the environment file when initializing the python bindings.
John Ralls
jralls at code.gnucash.org
Sat Mar 24 20:49:16 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/7b6854c1 (commit)
from https://github.com/Gnucash/gnucash/commit/148c02d2 (commit)
commit 7b6854c1631e27e634a6b3d4e22ee6a8389836dd
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Mar 24 17:49:01 2018 -0700
Load the environment file when initializing the python bindings.
diff --git a/bindings/python/__init__.py b/bindings/python/__init__.py
index 1c87473..4082cfe 100644
--- a/bindings/python/__init__.py
+++ b/bindings/python/__init__.py
@@ -4,6 +4,7 @@
# instead of
# >>> from gnucash.gnucash_core import thingy
from gnucash.gnucash_core import *
+gnc_environment_setup()
## @file
# @brief helper file for the importing of gnucash
# @author Mark Jenkins, ParIT Worker Co-operative <mark at parit.ca>
Summary of changes:
bindings/python/__init__.py | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list