Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

fix typo

Lin Zheminda881d0b006e
diff --git a/sfwebui.py b/sfwebui.py
index aeb1f0e9..e9fa6746 100644
--- a/sfwebui.py
+++ b/sfwebui.py
@@ -48,7 +48,7 @@ class SpiderFootWebUi:
else:
addr = self.config['__webaddr']
- self.docroot = self.config['__docroot'].rtrim('/')
+ self.docroot = self.config['__docroot'].rstrip('/')
print ""
print ""
@@ -188,7 +188,7 @@ class SpiderFootWebUi:
def index(self):
# Look for referenced templates in the current directory only
templ = Template(filename='dyn/scanlist.tmpl', lookup=self.lookup)
- return templ.render(pageid='SCANLIST', docroot=self.docroot,
+ return templ.render(pageid='SCANLIST', docroot=self.docroot)
index.exposed = True
# Information about a selected scan