From 31083fedd0db8605626759ca58a508efb35d5a30 Mon Sep 17 00:00:00 2001 From: Xevion Date: Tue, 29 Oct 2019 00:42:38 -0500 Subject: [PATCH] add back in spotify explicit content and use sned_file not render_template --- app/spotify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/spotify.py b/app/spotify.py index 0de37b0..f044215 100644 --- a/app/spotify.py +++ b/app/spotify.py @@ -23,5 +23,4 @@ def spotify(): if check_and_update(): print('Graph out of date - running udpate command') r = subprocess.run(['python', './app/spotify_explicit/main.py'], capture_output=True) - # return send_file('spotify_explicit/export/export.png') - return render_template('spotify.html') \ No newline at end of file + return send_file('spotify_explicit/export/export.png') \ No newline at end of file