add back in spotify explicit content and use sned_file not render_template

This commit is contained in:
Xevion
2019-10-29 00:42:38 -05:00
parent 80e6479878
commit 31083fedd0
+1 -2
View File
@@ -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')
return send_file('spotify_explicit/export/export.png')