mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 13:14:46 +00:00
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:
parent
31e853e0d7
commit
787d9143fe
1 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue