From c99f30c76bd87cf6f9acccadbcc38cb32b2a8455 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 10 Sep 2021 05:45:05 +0200 Subject: [PATCH] fd --- files/routes/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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