Skip to content

Commit 575a312

Browse files
author
Ryan Stortz
committed
Clearly I didn't test my latest change
1 parent 30a43b7 commit 575a312

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ def show_graph_report(bv, g, name):
5454

5555
# 1.3.2086-dev
5656
# also 2.1.2260 Personal
57-
major, minor, patch, _ = re.match("(\d+)\.(\d+)\.(\d+)([- ]\w+)?", a).groups()
57+
version = binaryninja.core_version()
58+
major, minor, patch, _ = re.match("(\d+)\.(\d+)\.(\d+)([- ]\w+)?", version).groups()
5859
major = int(major)
5960
minor = int(minor)
6061
patch = int(patch)

0 commit comments

Comments
 (0)