core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
This commit is contained in:
parent
8cfcc7098a
commit
35d39b450f
2 changed files with 3 additions and 3 deletions
|
|
@ -0,0 +1,3 @@
|
|||
from core.constants import Const as C
|
||||
|
||||
__version__ = C.APP_VERSION
|
||||
|
|
@ -48,9 +48,6 @@ except ImportError:
|
|||
from ordereddict import OrderedDict
|
||||
|
||||
|
||||
__version__ = C.APP_VERSION
|
||||
|
||||
|
||||
class SAT(service.Service):
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue