From fde1fdced6a237c9ca023b2ab48b0cd3ae80b0a5 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Wed, 23 Jul 2014 20:53:59 +0200 Subject: [PATCH] Fix some typos. --- dosagelib/scraper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dosagelib/scraper.py b/dosagelib/scraper.py index 8f48d5085..a246ccae6 100644 --- a/dosagelib/scraper.py +++ b/dosagelib/scraper.py @@ -119,13 +119,13 @@ class Scraper(object): imageUrls = set(imageUrls) if len(imageUrls) > 1 and not self.multipleImagesPerStrip: patterns = [x.pattern for x in makeSequence(self.imageSearch)] - out.warn(u"found %d images instead of 1 at %s with expressions %s" % (len(imageUrls), url, patterns)) + out.warn(u"Found %d images instead of 1 at %s with expressions %s" % (len(imageUrls), url, patterns)) image = sorted(imageUrls)[0] - out.warn(u"choosing image %s" % image) + out.warn(u"Choosing image %s" % image) imageUrls = (image,) elif not imageUrls: patterns = [x.pattern for x in makeSequence(self.imageSearch)] - out.warn(u"found no images at %s with expressions %s" % (url, patterns)) + out.warn(u"Found no images at %s with expressions %s" % (url, patterns)) if self.textSearch: text = self.fetchText(url, data, self.textSearch, optional=self.textOptional) else: