axiros / terminal_markdown_viewer

Styled Terminal Markdown Viewer
Other
1.8k stars 105 forks source link

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated #79

Open waldauf opened 4 years ago

waldauf commented 4 years ago

Hello,

In Arch Linux I have installed MDV in version 1.6.3-1 (via AUR). But last time (cannot say exactly) I see this output at the beginning markdown text:

$ mdv README.md | head         
/usr/lib/python2.7/site-packages/mdv/markdownviewer.py:1276: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  cfg = yaml.load('{}')

Is there way how to fix it?