From 234287f326b77b0916c320d8de61cf8c59b8358b Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 14 Jul 2007 18:20:42 +0000 Subject: fix printing of None encoding git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@347 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler.py b/crawler.py index e2da111..e44a3d7 100644 --- a/crawler.py +++ b/crawler.py @@ -594,4 +594,4 @@ class Link: unicode('just some random text', encoding, 'replace') self.encoding = encoding except Exception: - self.add_pageproblem('unknown encoding: ' + encoding) + self.add_pageproblem('unknown encoding: ' + str(encoding)) -- cgit v1.2.3