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

Method getETA

module/PyFile.py:244–249  ·  view source on GitHub ↗

gets established time of arrival

(self)

Source from the content-addressed store, hash-verified

242 return 0
243
244 def getETA(self):
245 """ gets established time of arrival"""
246 try:
247 return self.getBytesLeft() / self.getSpeed()
248 except:
249 return 0
250
251 def getBytesLeft(self):
252 """ gets bytes left """

Callers 2

formatETAMethod · 0.95
statusDownloadsMethod · 0.80

Calls 2

getBytesLeftMethod · 0.95
getSpeedMethod · 0.95

Tested by

no test coverage detected