diff options
Diffstat (limited to 'admin/Sources/Clients/ogagent/src')
-rw-r--r-- | admin/Sources/Clients/ogagent/src/opengnsys/__init__.py | 6 | ||||
-rw-r--r-- | admin/Sources/Clients/ogagent/src/setup.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/admin/Sources/Clients/ogagent/src/opengnsys/__init__.py b/admin/Sources/Clients/ogagent/src/opengnsys/__init__.py index 02e7c341..0197f320 100644 --- a/admin/Sources/Clients/ogagent/src/opengnsys/__init__.py +++ b/admin/Sources/Clients/ogagent/src/opengnsys/__init__.py @@ -38,10 +38,10 @@ import modules from RESTApi import REST, RESTError try: - with open('VERSION', 'r') as v: - VERSION = v.read() + with open('../VERSION', 'r') as v: + VERSION = v.read().strip() except IOError: - VERSION = '1.1.0' + VERSION = '1.1.1b' __title__ = 'OpenGnsys Agent' __version__ = VERSION diff --git a/admin/Sources/Clients/ogagent/src/setup.py b/admin/Sources/Clients/ogagent/src/setup.py index 15254f4f..85300f7e 100644 --- a/admin/Sources/Clients/ogagent/src/setup.py +++ b/admin/Sources/Clients/ogagent/src/setup.py @@ -63,7 +63,7 @@ import sys # Reading version file: try: with open('VERSION', 'r') as v: - VERSION = v.read() + VERSION = v.read().split() except IOError: VERSION = '1.1.0' |