View Single Post
Old 02-09-2016, 04:05 AM   #997
fathertyme
Enthusiast
fathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheesefathertyme can extract oil from cheese
 
Posts: 44
Karma: 1000
Join Date: Jul 2014
Location: Planet Earth
Device: Samsung S2
I was glancing through the storiesonline section of the plugin, and ran across this:

(lines 319-327)
Code:
        status = lc4.find('span', {'class' : 'ab'})
        if  status != None:
            self.story.setMetadata('status', 'In-Progress')
            if "Last Activity" in status.text:
                # date is passed as a timestamp and converted in JS.
                value = status.findNext('noscript').text
                self.story.setMetadata('dateUpdated', makeDate(stripHTML(value), self.dateformat))
        else:
            self.story.setMetadata('status', 'Completed')
What is odd here is that if I'm reading this right, the plugin should always set status to either "Completed" or "In-Progress"

now... Completed works fine, but I does not set In-Progress (and incomplete would be nice as well)

it always seems to leave anything as either complete or blank


am i reading this wrong?

Last edited by fathertyme; 02-09-2016 at 04:09 AM.
fathertyme is offline   Reply With Quote