From 5bb20da936a412f69c9e32ebed5c7ad9f7e4abaa Mon Sep 17 00:00:00 2001 From: Josh F Date: Thu, 21 Oct 2021 18:19:32 -0400 Subject: Fix version_switcher.py --- python/examples/version_switcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/examples/version_switcher.py') diff --git a/python/examples/version_switcher.py b/python/examples/version_switcher.py index 8156092d..f5cc7be0 100644 --- a/python/examples/version_switcher.py +++ b/python/examples/version_switcher.py @@ -26,7 +26,7 @@ from binaryninja import core_version import datetime from six.moves import input -chandefault = UpdateChannel.list[0].name +chandefault = list(UpdateChannel)[0].name channel = None versions = [] @@ -93,7 +93,7 @@ def list_channels(): done = False print("\tSelect channel:\n") while not done: - channel_list = UpdateChannel.list + channel_list = list(UpdateChannel) for index, item in enumerate(channel_list): print("\t%d)\t%s" % (index + 1, item.name)) print("\t%d)\t%s" % (len(channel_list) + 1, "Main Menu")) -- cgit v1.3.1