mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-17 14:30:30 +00:00
When BeautifulSoup finds an empty file on disk, it sets original_encoding to None. It doesn't matter what encoding we pick for empty files, so let's just pick one. I don't know if there are any circumstances where BeautifulSoup might set the encoding to None for a non-empty file. Closes #392.
5 lines
180 B
Text
5 lines
180 B
Text
url file://%(curdir)s/%(datadir)s/empty.html
|
|
cache key file://%(curdir)s/%(datadir)s/empty.html
|
|
real url file://%(curdir)s/%(datadir)s/empty.html
|
|
name %(datadir)s/empty.html
|
|
valid
|