From: OzVa Server Date: Sun, 19 May 2024 19:56:59 +0000 (+0100) Subject: fixed final brace X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=2541eb184b0c9c1e976a3ad4d3ac00ab41d4c8b0;p=spaceweather fixed final brace --- diff --git a/spaceweather.py b/spaceweather.py index ac05111..769dd98 100755 --- a/spaceweather.py +++ b/spaceweather.py @@ -221,7 +221,7 @@ padding = round((target - duration) / (len(order) - 4), 2) print(f"duration: {round(duration, 2)} padding: {padding}") # pipe reccursion to join all the audio clips together -call = f"sox {order[1]["file"]} -p pad 0 {padding}|" +call = f"sox {order[1]['file']} -p pad 0 {padding}|" for clip in order[2:-2]: call += f"sox - {clip['file']} -p pad 0 {padding}|" call += f"sox --effects-file=config/voice.effects - audio/voice.wav"