MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _convertSeconds

Method _convertSeconds

lib/utils/progress.py:32–37  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

30 self.update()
31
32 def _convertSeconds(self, value):
33 seconds = value
34 minutes = seconds // 60
35 seconds = seconds - (minutes * 60)
36
37 return "%.2d:%.2d" % (minutes, seconds)
38
39 def update(self, newAmount=0):
40 """

Callers 1

drawMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected