MCPcopy Index your code
hub / github.com/pyload/pyload / getSpeed

Method getSpeed

module/PyFile.py:237–242  ·  view source on GitHub ↗

calculates speed

(self)

Source from the content-addressed store, hash-verified

235 return "%.2i:%.2i:%.2i" % (hours, minutes, seconds)
236
237 def getSpeed(self):
238 """ calculates speed """
239 try:
240 return self.plugin.req.speed
241 except:
242 return 0
243
244 def getETA(self):
245 """ gets established time of arrival"""

Callers 3

getETAMethod · 0.95
statusServerMethod · 0.45
statusDownloadsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected