GetRD / academic-file-converter

📚 Import Bibtex publications and Jupyter Notebook blog posts into your Markdown website or book. 将Bibtex转换为Markdown网站
https://docs.hugoblox.com/reference/content-types/#automatically-import-publications-from-bibtex
MIT License
363 stars 102 forks source link

Fix check for docker-compose #71

Closed arichardson closed 4 years ago

arichardson commented 4 years ago

Path().glob("docker-compose.yml") returns a generator that is always a true value in if conditions (even if the list that it returns is emtpy). Fix this by using Path("docker-compose.yml").exists().

gcushen commented 4 years ago

Thanks @arichardson !