FIX: Fix for DDL trying to parse a pack result and not recognizing the 2 size formats

This commit is contained in:
evilhero 2019-01-23 13:42:39 -05:00
parent 02d805d4bd
commit bb9f641727
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ class GC(object):
size = re.sub('MB', 'M', size).strip()
elif 'GB' in size:
size = re.sub('GB', 'G', size).strip()
if '//' in size:
nwsize = size.find('//')
size = re.sub('\[', '', size[:nwsize]).strip()
i+=1
dateline = f.find('time')
datefull = dateline['datetime']