MCPcopy
hub / github.com/DedSecInside/TorBot / insert

Method insert

torbot/modules/linktree.py:116–127  ·  view source on GitHub ↗
(node, color_code)

Source from the content-addressed store, hash-verified

114 table_data = []
115
116 def insert(node, color_code):
117 status = str(node.data.status)
118 code = http.client.responses[node.data.status]
119 status_message = f'{status} {code}'
120 table_data.append([
121 node.tag,
122 node.identifier,
123 color(status_message, color_code),
124 node.data.numbers,
125 node.data.emails,
126 node.data.classification,
127 ])
128
129 for node in nodes:
130 status_code = node.data.status

Callers

nothing calls this directly

Calls 1

colorClass · 0.90

Tested by

no test coverage detected