diff --git a/clients/windows.py b/clients/windows.py index b7b3c49..1a4ee75 100644 --- a/clients/windows.py +++ b/clients/windows.py @@ -71,7 +71,7 @@ def getEditions(template): # get table cells then use appropriate cell containg the end of support date found = re.findall(r'(.*?)', extracted) if len(found)>0: - item.ends = datetime.strptime(found[2], '%B %d, %Y').date() + item.ends = datetime.strptime(found[2].strip('*'), '%B %d, %Y').date() return result diff --git a/start.py b/start.py index 07f47e8..6975c24 100644 --- a/start.py +++ b/start.py @@ -10,14 +10,14 @@ from datetime import datetime, date import vergrabber -__version__ = '3.3.3' +__version__ = '3.3.4' __author__ = 'Tomasz Krol' __author_email__ = 'vergrabber@kingu.pl' debug = False debug_module = None # debug = True -# debug_module = 'mysql' +# debug_module = 'windows' def dumper(obj): if isinstance(obj, date) or isinstance(obj, datetime):