Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Giving the loader parameter to the yaml.FullLoader#9

Open
safakamali wants to merge 1 commit into
justbuchanan:masterfrom
safakamali:fix/icons_dict
Open

Giving the loader parameter to the yaml.FullLoader#9
safakamali wants to merge 1 commit into
justbuchanan:masterfrom
safakamali:fix/icons_dict

Conversation

@safakamali
Copy link
Copy Markdown

#8
When the generate.py file is run, it gives this error:

TypeError: load() missing 1 required positional argument: 'Loader'

I passed a FullLoader loader to this parameter.
Before:
icons_dict = yaml.load(requests.get(uri).text)
After:
icons_dict = yaml.load(requests.get(uri).text, yaml.FullLoader)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant