This commit is contained in:
CorpNewt 2019-01-02 11:15:40 -06:00 committed by GitHub
parent fc7da4b8e5
commit 20488d435b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ class Downloader:
def get_size(self, size, suff=None):
if size == -1:
return "Unknown"
ext = ["B","KB","MB","GB","PB"]
ext = ["B","KB","MB","GB","TB","PB"]
s = float(size)
s_dict = {}
# Iterate the ext list, and divide by 1000 each time