Update eatlocal.eatlocal.read_bite() to use glob() and rglob()
rhelmstedter opened this issue · 1 comments
rhelmstedter commented
Instead of iterating over path.iterdir()
use Path.glob()
and Path.rglob()
.
Currently this code exists for parsing the bite.html
file and rendering the instructions. Parsing the file path for the code is complicated by the fact that in each bite directory there are exactly two (at least in all bites explored so far) .py
files. One file for the bite, the other for the tests.
rhelmstedter commented
Used a list comp to filter out the test file. Fixed this issue with 9a79ba5