use bytes not bits for bandwidth
This commit is contained in:
parent
d9bd113ee5
commit
3ec134864b
1 changed files with 2 additions and 2 deletions
|
@ -22,8 +22,8 @@ class Bandwidth(object):
|
||||||
state.main.call_later(1, self.update)
|
state.main.call_later(1, self.update)
|
||||||
|
|
||||||
def download(self, amount):
|
def download(self, amount):
|
||||||
self.down += amount * 8
|
self.down += amount
|
||||||
|
|
||||||
def upload(self, amount):
|
def upload(self, amount):
|
||||||
self.up += amount * 8
|
self.up += amount
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue