fix capture_output quickly for subprocess.run

This commit is contained in:
Xevion
2019-11-03 02:29:36 -06:00
parent a0b1b5f013
commit 7c32b23fa7

View File

@@ -22,5 +22,5 @@ def check_and_update():
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)
r = subprocess.run(['python', './app/spotify_explicit/main.py'])
return send_file('spotify_explicit/export/export.png')