diff --git a/gitfiti.py b/gitfiti.py index b327a1df60..4a8e82ec04 100755 --- a/gitfiti.py +++ b/gitfiti.py @@ -297,7 +297,8 @@ def parse_contributions_calendar(contributions_calendar): for line in contributions_calendar.splitlines(): # a valid line looks like this: # 23 contributions on Sunday, February 26, 2023 - if 'data-date=' in line: + # I changed the part to look for from 'data-date=' to 'sr-only position-absolute' + if 'sr-only position-absolute' in line: commit = line.split('>')[1].split()[0] # yuck if commit.isnumeric():