Comment out some debug output.

This commit is contained in:
Jim Miller 2017-08-29 21:27:09 -05:00
parent d5e09a7dd7
commit 16679fa064
2 changed files with 3 additions and 3 deletions

View file

@ -210,7 +210,7 @@ class BaseSiteAdapter(Configurable):
if self.logfile:
self.story.logfile = self.logfile
logger.debug(u"getStory times:\n%s"%self.times)
# logger.debug(u"getStory times:\n%s"%self.times)
return self.story
def getStoryMetadataOnly(self,get_cover=True):
@ -228,7 +228,7 @@ class BaseSiteAdapter(Configurable):
for index, (title,url) in enumerate(self.chapterUrls):
self.chapterUrls[index] = (title,self.normalize_chapterurl(url))
logger.debug(u"getStoryMetadataOnly times:\n%s"%self.times)
# logger.debug(u"getStoryMetadataOnly times:\n%s"%self.times)
return self.story
def setStoryMetadata(self,metahtml):

View file

@ -32,7 +32,7 @@ def logdebug(s):
was_run_marker=u'FFF_replace_br_with_p_has_been_run'
def replace_br_with_p(body):
if was_run_marker in body:
logger.debug("replace_br_with_p previously applied, skipping.")
# logger.debug("replace_br_with_p previously applied, skipping.")
return body
# Ascii character (and Unicode as well) xA0 is a non-breaking space, ascii code 160.