home · contact · privacy
De-hardcode infections table path from enhance_table.py.
[berlin-corona-table] / update.sh
index f1b74677156a796631ca10086f2ec2ff87378ca5..1bfd38b29e667b9ed4b079afc75a347fb467ded4 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -18,4 +18,4 @@ curl "${CSV_URL}" \
 'END { printf "\n" }' "${filename}" >> "${table_path}" 
 
 # Write enhanced table output to directory served by web server.
-./enhance_table.py > /var/www/html/berlin_corona.txt
+./enhance_table.py "${table_path}" > /var/www/html/berlin_corona.txt