use bytes not bits for bandwidth

This commit is contained in:
j 2015-12-25 20:51:01 +05:30
parent d9bd113ee5
commit 3ec134864b

View file

@ -22,8 +22,8 @@ class Bandwidth(object):
state.main.call_later(1, self.update)
def download(self, amount):
self.down += amount * 8
self.down += amount
def upload(self, amount):
self.up += amount * 8
self.up += amount