don't call write_color with None argument

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3120 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-04-08 10:26:15 +00:00
parent 31e853e0d7
commit 787d9143fe

View file

@ -278,7 +278,8 @@ class Colorizer (object):
"""
if color is None:
self.fp.write(text)
write_color(self.fp, text, color)
else:
write_color(self.fp, text, color)
def __getattr__ (self, name):
"""