mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Fix VirusCheck.check() docstring
This commit is contained in:
parent
4a75a116d6
commit
1f5a1e92d3
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class VirusCheck(_ContentPlugin):
|
|||
return self.clamav_conf and not url_data.extern[0]
|
||||
|
||||
def check(self, url_data):
|
||||
"""Try to ask GeoIP database for country info."""
|
||||
"""Scan content for viruses."""
|
||||
data = url_data.get_raw_content()
|
||||
infected, errors = scan(data, self.clamav_conf)
|
||||
if infected or errors:
|
||||
|
|
|
|||
Loading…
Reference in a new issue