MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / __str__

Method __str__

scenedetect/_thirdparty/simpletable.py:83–88  ·  view source on GitHub ↗

Return the HTML code for the table cell.

(self)

Source from the content-addressed store, hash-verified

81 self.header = header
82
83 def __str__(self):
84 """Return the HTML code for the table cell."""
85 if self.header:
86 return "<th>%s</th>" % (self.text)
87 else:
88 return "<td>%s</td>" % (self.text)
89
90
91class SimpleTableImage:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected