From b86d8099f16ce271ac2e0944fd32e54337f24c24 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 14 Mar 2025 18:55:58 -0700 Subject: [PATCH] fix: Remove unused import and convert f-strings without placeholders --- scripts/recording_audio.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/recording_audio.py b/scripts/recording_audio.py index 6758edd42..7506d4c89 100755 --- a/scripts/recording_audio.py +++ b/scripts/recording_audio.py @@ -9,7 +9,6 @@ import json import os import re import subprocess -import sys import tempfile from pathlib import Path @@ -249,7 +248,7 @@ def main(): f" ({reduction:.1f}% reduction)" ) else: - print(f" ✗ Failed to compress") + print(" ✗ Failed to compress") if os.path.exists(temp_file): os.remove(temp_file) else: @@ -308,7 +307,7 @@ def main(): print(f"Marker at {minutes}:{seconds:02d} - {message}") if not needs_update: - print(f" ✓ Audio file already exists with correct content") + print(" ✓ Audio file already exists with correct content") continue if args.dry_run: @@ -319,11 +318,11 @@ def main(): message, output_file, voice=selected_voice, bitrate=selected_bitrate ) if success: - print(f" ✓ Generated audio file") + print(" ✓ Generated audio file") # Update metadata with the new message metadata[timestamp_key] = message else: - print(f" ✗ Failed to generate audio") + print(" ✗ Failed to generate audio") # Save updated metadata if not args.dry_run: