Skip to content

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

sfcli: Cast dict value as string

Brendan Coles815c907252bb
diff --git a/sfcli.py b/sfcli.py
index cc0d2666..231fce83 100755
--- a/sfcli.py
+++ b/sfcli.py
@@ -241,7 +241,7 @@ class SpiderFootCli(cmd.Cmd):
else:
# we have a dict key
cn = c
- v = r[c]
+ v = str(r[c])
#print(str(cn) + ", " + str(c) + ", " + str(v))
if len(v) > maxsize.get(cn, 0):
maxsize[cn] = len(v)
@@ -303,7 +303,7 @@ class SpiderFootCli(cmd.Cmd):
else:
# we have a dict key
cn = c
- v = r[c]
+ v = str(r[c])
if cn not in cols:
i += 1
continue