Correct error
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Apr 2009 16:34:14 +0000 (16:34 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Apr 2009 16:34:14 +0000 (16:34 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2639 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BToolchainPage.py

index 5ce077898b1865382c658bcf38b2052d8a8f487b..c2617c4ce2c88bdbbc6a7d8a82fada71344cfbab 100644 (file)
@@ -248,7 +248,7 @@ class BToolchainPage(BWizardPage):
         """
         if os.name == "nt":
             import winreg_importer
-            stored_toolchains = [toolchain[0] for toolchain in winreg_importer.getBertosToolchains()]
+            stored_toolchains = winreg_importer.getBertosToolchains()
             if toolchain["path"] in stored_toolchains:
                 return True
         return False