mirror of https://github.com/MISP/PyMISP
parent
234de2f4d1
commit
fe8415dbc7
|
@ -1,3 +1,3 @@
|
|||
__version__ = '2.4.48'
|
||||
__version__ = '2.4.48.1'
|
||||
|
||||
from .api import PyMISP, PyMISPError, NewEventError, NewAttributeError, MissingDependency, NoURL, NoKey
|
||||
|
|
|
@ -971,7 +971,7 @@ class PyMISP(object):
|
|||
"""
|
||||
Get the most recent version from github
|
||||
"""
|
||||
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/master/VERSION.json')
|
||||
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.4/VERSION.json')
|
||||
if r.status_code == 200:
|
||||
master_version = json.loads(r.text)
|
||||
return {'version': '{}.{}.{}'.format(master_version['major'], master_version['minor'], master_version['hotfix'])}
|
||||
|
|
Loading…
Reference in New Issue