Add AMFIPass (#1051)

This commit is contained in:
Dhinak G
2023-07-26 08:29:46 -04:00
committed by GitHub
parent aa1739c1d6
commit 43be00e9e7
17 changed files with 247 additions and 138 deletions

View File

@@ -48,10 +48,8 @@ class UpdateFrame(wx.Frame):
if url == "" or version_label == "":
dict = updates.CheckBinaryUpdates(self.constants).check_binary_updates()
if dict:
for key in dict:
version_label = dict[key]["Version"]
url = dict[key]["Link"]
break
version_label = dict["Version"]
url = dict["Link"]
else:
wx.MessageBox("Failed to get update info", "Critical Error")
sys.exit(1)