Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing "-" character in full-stack libraries section #125

Merged
merged 1 commit into from
Aug 31, 2024

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