Monadical-SAS / monadical.com

🖥️ Custom Flask + Jinja2 static site generator and content powering Monadical.com
https://monadical.com
10 stars 4 forks source link

Handle empty dicts to fix broken build #241

Closed shawn-monadical closed 11 months ago

shawn-monadical commented 11 months ago

The previous change made the RATES dict empty, which broke the build because it caused wget to be called with an empty command line. This adds a check for empty files and skips the wget call in that case.

cc @andreasbonini @juanarias8 @atsiem @cowpig