From bb9f64172772d7ef3c5eb0fc0fc5a41febfb5910 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 23 Jan 2019 13:42:39 -0500 Subject: [PATCH] FIX: Fix for DDL trying to parse a pack result and not recognizing the 2 size formats --- mylar/getcomics.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mylar/getcomics.py b/mylar/getcomics.py index 052f2fb7..ac5bbbe1 100644 --- a/mylar/getcomics.py +++ b/mylar/getcomics.py @@ -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']