diff --git a/files/routes/admin.py b/files/routes/admin.py index 1de27d1db6..828bc25d27 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1210,6 +1210,6 @@ def chart(v): posts_chart.legend(loc='upper left', frameon=True) comments_chart.legend(loc='upper left', frameon=True) - plt.savefig("image.png") + plt.savefig("chart.png") plt.clf() - return send_file("../image.png") \ No newline at end of file + return send_file("../chart.png") \ No newline at end of file