Skip to content

Commit

Permalink
Fix for network_calc_prebuf_frac
Browse files Browse the repository at this point in the history
  • Loading branch information
egbertbouman committed Jun 10, 2013
1 parent 6b36f7b commit a4b1fbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tribler/Core/Libtorrent/LibtorrentDownloadImpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,6 @@ def network_calc_eta(self):
return bytestogof / dlspeed

def network_calc_prebuf_frac(self):
if self.progress * self.length >= self.prebuffsize:
return 1.0
return self.bufferprogress if self.vod_seekpos != None else 0.0

def network_calc_prebuf_eta(self):
Expand Down

0 comments on commit a4b1fbb

Please sign in to comment.