Undefined names: ‘title’ and ‘metadata’ in ojhtml2markdown.py
cclauss opened this issue · comments
flake8 testing of https://github.com/billryan/algorithm-exercise on Python 3.7.1
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./scripts/ojhtml2markdown.py:22:26: F821 undefined name 'title'
content = '# ' + title
^
./scripts/ojhtml2markdown.py:23:36: F821 undefined name 'metadata'
yaml_content = YamlContent(metadata, content)
^
2 F821 undefined name 'title'
2
fixed.