Mercurial > libervia-backend
annotate src/__init__.py @ 1886:f3db27508b31
jp (blog/preview): inotify improvments:
- InotifyError are catched (can happen if file is deleted during preview for instance)
- handle IN_DELETE_SELF event which happen when editor write content in a new file and switch to it (tested with vim)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 05 Mar 2016 19:24:10 +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 |