Skip to content

Commit

Permalink
fix windows version check
Browse files Browse the repository at this point in the history
  • Loading branch information
twkrol committed Apr 20, 2020
1 parent 586bec4 commit a8a1f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def getEditions(template):
# get table cells then use appropriate cell containg the end of support date
found = re.findall(r'<td>(.*?)</td>', 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

Expand Down
4 changes: 2 additions & 2 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
from datetime import datetime, date
import vergrabber

__version__ = '3.3.3'
__version__ = '3.3.4'
__author__ = 'Tomasz Krol'
__author_email__ = '[email protected]'

debug = False
debug_module = None
# debug = True
# debug_module = 'mysql'
# debug_module = 'windows'

def dumper(obj):
if isinstance(obj, date) or isinstance(obj, datetime):
Expand Down

0 comments on commit a8a1f5d

Please sign in to comment.