diff --git a/.gitignore b/.gitignore index 10246fa70..1c0ca9252 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ image.* -chart.png video.mp4 video.webm cache/ diff --git a/chart.png b/chart.png new file mode 100644 index 000000000..b341176aa Binary files /dev/null and b/chart.png differ diff --git a/files/routes/static.py b/files/routes/static.py index 6e1be82db..e51fcba0a 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -138,7 +138,7 @@ def cached_chart(): posts_chart.legend(loc='upper left', frameon=True) comments_chart.legend(loc='upper left', frameon=True) - file = "chart.png" + file = "/chart.png" plt.savefig(file) plt.clf() return file