summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-03-11 15:07:45 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-03-11 15:07:45 +0100
commitb302b5462f17a1891b7580822887e20a8f15062c (patch)
treeb5186135fab3ef3bc2a79adf0c7f55a3f1953339 /admin
parent852bb8037637f290b2e600d442a92d63064d924c (diff)
#959: Update OGAgent version.
Diffstat (limited to 'admin')
-rw-r--r--admin/Sources/Clients/ogagent/src/opengnsys/__init__.py6
-rw-r--r--admin/Sources/Clients/ogagent/src/setup.py2
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'