diff --git a/fanficfare/adapters/adapter_portkeyorg.py b/fanficfare/adapters/adapter_portkeyorg.py
index be05e12..28484a5 100644
--- a/fanficfare/adapters/adapter_portkeyorg.py
+++ b/fanficfare/adapters/adapter_portkeyorg.py
@@ -270,7 +270,10 @@ class PortkeyOrgAdapter(BaseSiteAdapter): # XXX
tag = soup.find('td', {'class' : 'story'})
if tag == None and "
Chapter does not exist!" in data:
logger.error("Chapter is missing at: %s"%url)
- return self.utf8FromSoup(url,self.make_soup("Chapter does not exist!Chapter is missing at: %s
"%(url,url)))
+ return self.utf8FromSoup(url,self.make_soup("Site says: Chapter does not exist!Chapter is missing at: %s
"%(url,url)))
+ elif tag == None and "This chapter has corrupted or a blank chapter was uploaded. Please contact the author and request that they re-upload the chapter" in data:
+ logger.error("Chapter is missing at: %s"%url)
+ return self.utf8FromSoup(url,self.make_soup("Site says: This chapter has corrupted or a blank chapter was uploaded.Chapter is missing at: %s
"%(url,url)))
tag.name='div' # force to be a div to avoid problems with nook.
centers = tag.findAll('center')