Commit bdb3a93c authored by Thorsten Simons's avatar Thorsten Simons

1.5.2 - *analyze* now also allows to use a database created by **hcpheath**

parent 0847522c
Release History
===============
**1.5.2 2019-05-15**
* *analyze* now also allows to use a database created by **hcpheath**
**1.5.1 2019-03-19**
* replaced *shutil.unpack_archive* with *zipfile.Zipfile.extractall*, as *unpack_archive* seems to
......
......@@ -74,7 +74,8 @@ class DB():
cur = self.con.execute('SELECT * FROM admin LIMIT 1')
rec = cur.fetchone()
if rec:
if rec['magic'] != 'hcprequestanalytics':
# if rec['magic'] != 'hcprequestanalytics':
if rec['magic'] not in ['hcprequestanalytics', 'hcphealth']:
raise sqlite3.DatabaseError(
'not a valid hcprequestanalytics database')
else:
......
......@@ -27,8 +27,8 @@ class Gvars:
"""
# version control
s_version = "1.5.1"
s_builddate = '2019-03-19'
s_version = "1.5.2"
s_builddate = '2019-05-15'
s_build = "{}/Sm".format(s_builddate)
s_minPython = "3.5"
s_description = "hcprequestanalytics"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment