mirror of https://github.com/evilhero/mylar
FIX: Fix for DDL Size incorrectly being parsed
This commit is contained in:
parent
bb9f641727
commit
da2de2feab
|
@ -105,6 +105,8 @@ class GC(object):
|
||||||
if '//' in size:
|
if '//' in size:
|
||||||
nwsize = size.find('//')
|
nwsize = size.find('//')
|
||||||
size = re.sub('\[', '', size[:nwsize]).strip()
|
size = re.sub('\[', '', size[:nwsize]).strip()
|
||||||
|
if any([size == '-M', size == '-G']):
|
||||||
|
size = '0 M'
|
||||||
i+=1
|
i+=1
|
||||||
dateline = f.find('time')
|
dateline = f.find('time')
|
||||||
datefull = dateline['datetime']
|
datefull = dateline['datetime']
|
||||||
|
|
Loading…
Reference in New Issue