Skip to content

Commit

Permalink
chg: [tests] misp_instance_version_master now uses the 2.5 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
iglocska committed Oct 4, 2024
1 parent 865a8a5 commit 7599037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymisp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def misp_instance_version(self) -> dict[str, Any] | list[dict[str, Any]]:
@property
def misp_instance_version_master(self) -> dict[str, Any] | list[dict[str, Any]]:
"""Get the most recent version from github"""
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.4/VERSION.json')
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.5/VERSION.json')
if r.status_code == 200:
master_version = loads(r.content)
return {'version': '{}.{}.{}'.format(master_version['major'], master_version['minor'], master_version['hotfix'])}
Expand Down

0 comments on commit 7599037

Please sign in to comment.