]> OzVa Git service - spaceweather/commitdiff
fixed final brace
authorOzVa Server <greenwoodw50@gmail.com>
Sun, 19 May 2024 19:56:59 +0000 (20:56 +0100)
committerOzVa Server <greenwoodw50@gmail.com>
Sun, 19 May 2024 19:56:59 +0000 (20:56 +0100)
spaceweather.py

index ac051113aaae6aec4aad447344af0b9d2196baa5..769dd98418e4a0e05b6352b51cf7e90d6b4cf8f2 100755 (executable)
@@ -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"