def finalize(self):

        config = PluginConfig.load()

        for name in self._checkboxes:
            config.plugins[name] = 0 > self._checkboxes[name].checkState(0)

        try:
            config.save()
        except Exception:
            import traceback
            detail = str(traceback.format_exc())
            from glue.utils.qt import QMessageBoxPatched as QMessageBox
            message = QMessageBox(QMessageBox.Critical,
                                  "Error",
                                  "Could not save plugin configuration")
            message.setDetailedText(detail)
            message.exec_()
            return

        self.ui.accept()
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/plugin_manager.py/QtPluginManager.finalize/swapped operands of `>`