Mercurial > libervia-backend
annotate src/__init__.py @ 1900:d1615f79dfe8
core (tools/config): fixed fixConfigOption:
C.DEFAULT_CONFIG was used so the default values were written if not set in the config file used, resulting in a overriding of values set in config files of higher level (e.g. ~/.config/sat/sat.conf could override /etc/sat.conf values).
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 09 Mar 2016 12:11:35 +0100 |
parents | 8bfbf5cb0e28 |
children | 1128feb54180 |
rev | line source |
---|---|
1470
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
1 from core.constants import Const as C |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
2 |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
3 __version__ = C.APP_VERSION |