fontawesome-python
fontawesome-python copied to clipboard
Giving the loader parameter to the yaml.FullLoader
#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)