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

Giving the loader parameter to the yaml.FullLoader #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

safakamali
Copy link

#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