glasserc / rst2wp

Post to Wordpress using ReStructuredText
11 stars 10 forks source link

[minor] directive.py fix and lib/wordpress.py fix #4

Closed jbremnant closed 12 years ago

jbremnant commented 12 years ago

From directive.py

from config import POSTS_LOCATION, IMAGES_LOCATION, TEMP_DIRECTORY, TEMP_FILES

From lib/wordpress.py

def newPage(self, page, publish):
    # FIXME: probably wrong
    id = int(self._save_post('wp', 'newPage', [self.blogId], page, publish))
    page.id = id
    return id
glasserc commented 12 years ago

I'd prefer these be two separate commits, with slightly more specific commit messages, like "fix missing import of TEMP_FILES". But this is good enough. Closes #2, #3. Thanks!