def confirm(self): fn = self.filename.get() bodyText = self.body.get(1.0, 'end') ps34.createHTMLFile(fn) ps34.writeHTML(fn, bodyText) ps34.openPage(fn) self.disableFrame_2()
def confirmEdit(self): fn = ps34.confirmHtml(self.filename.get()) bt = self.body.get(1.0, 'end') conn = wpdb.connDb('CustomPages') conn.updateWebpage(fn, bt) bodyText = self.body.get(1.0, 'end') ps34.writeHTML(fn, bodyText) ps34.openPage(fn)
def confirm(self): fn = ps34.confirmHtml(self.filename.get()) bodyText = self.body.get(1.0, 'end') conn = wpdb.connDb('CustomPages') conn.insertPage(fn, bodyText) ps34.createHTMLFile(fn) ps34.writeHTML(fn, bodyText) ps34.openPage(fn) self.disableFrame_2()