Add empty params arg to log call (title.py)

This commit is contained in:
jesopo 2019-02-09 13:37:21 +00:00
parent 730a4e6b87
commit 8bbfd1d1c3

View file

@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule):
try:
page = utils.http.request(url, soup=True)
except Exception as e:
self.log.error("failed to get URL title", exc_info=True)
self.log.error("failed to get URL title", [], exc_info=True)
return None
if page.data.title:
return page.data.title.text.replace("\n", " ").replace(