def OnDone(self, event): if event.returncode == 0: if not os.getenv("GRASS_ADDON_BASE"): SetAddOnPath(key="BASE") globalvar.UpdateGRASSAddOnCommands() toolboxesOutdated()
def OnDone(self, cmd, returncode): if returncode == 0: if not os.getenv('GRASS_ADDON_BASE'): SetAddOnPath(key = 'BASE') globalvar.UpdateGRASSAddOnCommands() toolboxesOutdated()
def OnDone(self, cmd, returncode): if returncode == 0: if not os.getenv('GRASS_ADDON_PATH'): SetAddOnPath() globalvar.UpdateGRASSAddOnCommands() log = self.parent.GetLogWindow() log.GetPrompt().SetFilter(None)