mirror of https://github.com/evilhero/mylar
FIX: Fix for DDL trying to parse a pack result and not recognizing the 2 size formats
This commit is contained in:
parent
02d805d4bd
commit
bb9f641727
|
@ -102,6 +102,9 @@ class GC(object):
|
||||||
size = re.sub('MB', 'M', size).strip()
|
size = re.sub('MB', 'M', size).strip()
|
||||||
elif 'GB' in size:
|
elif 'GB' in size:
|
||||||
size = re.sub('GB', 'G', size).strip()
|
size = re.sub('GB', 'G', size).strip()
|
||||||
|
if '//' in size:
|
||||||
|
nwsize = size.find('//')
|
||||||
|
size = re.sub('\[', '', size[:nwsize]).strip()
|
||||||
i+=1
|
i+=1
|
||||||
dateline = f.find('time')
|
dateline = f.find('time')
|
||||||
datefull = dateline['datetime']
|
datefull = dateline['datetime']
|
||||||
|
|
Loading…
Reference in New Issue