Closed phantomblot-x closed 2 years ago
A divide by zero happens when using install() function to install a small APK. When the time to copy the APK is less than a second 'copytime' becomes zero:
copytime = time.time() - self.start_time speed = humanize(self.copied / copytime) + "/s"
copytime = time.time() - self.start_time
speed = humanize(self.copied / copytime) + "/s"
A divide by zero happens when using install() function to install a small APK. When the time to copy the APK is less than a second 'copytime' becomes zero:
copytime = time.time() - self.start_time
speed = humanize(self.copied / copytime) + "/s"