chunk = self.data.read(1024)
self.sent += len(chunk)
- #print (self.num, self.stepsize, self.total, self.sent, self.tosend)
+ # print (self.num, self.stepsize, self.total, self.sent, self.tosend)
if self.num % self.stepsize:
return chunk
M = M % 60
S = eta % 60
if self.total:
- s = '%s %2d%% (ETA %02d:%02d:%02d)' % (self.info,
- self.num * 100. / self.total, H, M, S)
+ s = '%s %2d%% (ETA %02d:%02d:%02d)' % (
+ self.info, self.num * 100. / self.total, H, M, S)
else:
s = '%s 0%% (ETA %02d:%02d:%02d)' % (self.info, H, M, S)
elif self.total: