Closed jbremnant closed 11 years ago
This function references _save_page, which doesn't exist.
def newPage(self, page, publish): # FIXME: probably wrong id = int(self._save_page('wp', 'newPage', [], page, publish)) page.id = id return id
Changing it to
def newPage(self, page, publish): # FIXME: probably wrong id = int(self._save_post('wp', 'newPage', [self.blogId], page, publish)) page.id = id return id
will work.
Commit a proper fix and send a pull request and I'll merge it.
Fixed by #4.
This function references _save_page, which doesn't exist.
Changing it to
will work.