mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 03:16:57 -06:00
fix capture_output quickly for subprocess.run
This commit is contained in:
@@ -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')
|
||||
Reference in New Issue
Block a user