Skip to content

Conversation

CalMacCQ
Copy link
Contributor

@CalMacCQ CalMacCQ commented Aug 25, 2024

After trying to regenerate the source list for the website by running this script I noticed that there was an AttributeError caused by a formatting issue in this repository.

The line that fails is as follows.

project_description = re.search(r'^.*-.*- (.*)$', line).group(1)

As this regex cannot find a "-" in the avaloni entry the search returns None hence the attribute error.

project_description = re.search(r'^.*-.*- (.*)$', line).group(1)#.strip('\'')
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

After this is merged, I'll be happy to rerun the script and update the source for the site.

See also the PR in progress -> qosf/qosf.org#115

@dlyongemallo
Copy link
Collaborator

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants