def r2sgf(self): filename = open_rsgf_file(parent=self.parent) if not filename: return rsgf2sgf(filename) show_info( _("The file %s as been converted to %s") % (os.path.basename(filename), os.path.basename(filename) + ".sgf"), parent=self.parent)
def r2sgf(self): filename = open_rsgf_file(parent=self.parent) if not filename: return rsgf2sgf(filename) show_info(_("The file %s has been converted to %s")%(os.path.basename(filename),os.path.basename(filename)+".sgf"),parent=self.parent)