Correct typo
[bertos.git] / wizard / BFinalPage.py
index aad5fec0344d8cb547586ec4c6530434861b213b..31e765dc181bcd292a9298f2a75456541989019f 100644 (file)
@@ -36,13 +36,13 @@ class BFinalPage(BWizardPage):
         QApplication.instance().setOverrideCursor(Qt.WaitCursor)
         bertos_utils.createBertosProject(self.project())
         QApplication.instance().restoreOverrideCursor()
+        self._plugin_dict = {}
         if os.name == "nt":
             output = self.projectInfo("OUTPUT")
             import winreg_importer
             command_lines = winreg_importer.getCommandLines()
             self.setProjectInfo("COMMAND_LINES", command_lines)
             layout = QVBoxLayout()
-            self._plugin_dict = {}
             for plugin in output:
                 if plugin in command_lines:
                     module = bertos_utils.loadPlugin(plugin)