diff options
author | Aaron LI <aly@aaronly.me> | 2020-06-20 18:39:40 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2020-06-20 18:39:40 +0800 |
commit | 4f7f041ee1334c77377f4847a4d285e49156a72b (patch) | |
tree | 763a768e422fef8c2e804e05abaa0b99ec1435a1 /Makefile | |
parent | 114c2af01697eb0cb8f6f8c26ff5669f4f91d113 (diff) | |
download | resume-4f7f041ee1334c77377f4847a4d285e49156a72b.tar.bz2 |
make-fontawesome5.py: Fix YAML load warning
Use `yaml.safe_load()` instead of `yaml.load()` to fix the following
warning:
YAMLLoadWarning: calling yaml.load() without Loader=... is
deprecated, as the default Loader is unsafe. Please read
https://msg.pyyaml.org/load for full details.
In addition, add a comment that the 'icons.yml' URL that has the '/raw'
part is actually correct, because we need the raw YAML data instead of
the HTML page rendered by Github.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions