From 17965239442efaea419f397f41f0b032be629db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Wed, 17 Jan 2018 01:32:37 +0100 Subject: [PATCH] Add non-comitted change from deploy (fixes error) --- soundboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/soundboard.py b/soundboard.py index 3a86a05..3b5b582 100644 --- a/soundboard.py +++ b/soundboard.py @@ -154,6 +154,7 @@ def play_random(): sounds = [os.fsencode(file).decode() for file in os.listdir(config.path)] random_sound = random.sample(sounds, 1)[0] subprocess.Popen(["omxplayer", os.path.join(config.path, random_sound).encode("utf-8")], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + return render_template("index.html") @app.route("/tags/") def tags(tags):