diff src/common/constants.py @ 861:5cefc6ab302f

server: moved APP_VERSION to common.constants + avoid __init__ import in browser side, which was the source of a crash
author Goffi <goffi@goffi.org>
date Mon, 25 Jan 2016 16:41:38 +0100
parents 0c824ebe9d87
children 5264fec78a1d
line wrap: on
line diff
--- a/src/common/constants.py	Mon Jan 25 16:39:40 2016 +0100
+++ b/src/common/constants.py	Mon Jan 25 16:41:38 2016 +0100
@@ -23,6 +23,9 @@
 
 class Const(constants.Const):
 
+    # XXX: we don't want to use the APP_VERSION inherited from sat.core.constants version
+    #      as we use this version to check that there is not a mismatch with backend
+    APP_VERSION = u'0.6.0D'  # Please add 'D' at the end for dev versions
     LIBERVIA_MAIN_PAGE = "libervia.html"
 
     # MISC