logging Google Sitemap Generator (sitemap_gen.py - python file)
When I use Google Sitemap Generator, it gives me an error (after running
and crawling all the files):
sitemap_gen.py:955: UnicodeWarning: Unicode equal comparison failed to
convert both arguments to Unicode - interpreting them as being unequal
if name and (root_file == name):
What I need is a line to add, so that it makes the code create a log file
that shows which file makes that error, or it's path, or when does it
happen and where.
No comments:
Post a Comment