Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-07-14 20:20:42 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-07-14 20:20:42 +0200
commit234287f326b77b0916c320d8de61cf8c59b8358b (patch)
tree59aee48d0f8facdc8f8ef2fa4a9670c2309e746b
parent0f34fc50ef997eb98d30d6f2a61aa7f745eeb377 (diff)
fix printing of None encoding
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@347 86f53f14-5ff3-0310-afe5-9b438ce3f40c
-rw-r--r--crawler.py2
1 files changed, 1 insertions, 1 deletions
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))