complete overhaul with pre-commit hooks

This commit is contained in:
Mustafa Soylu
2025-06-07 18:47:18 +02:00
parent 3971dba9bf
commit 62cbeeb513
71 changed files with 4200 additions and 2820 deletions

4
app.py
View File

@@ -251,8 +251,8 @@ if __name__ == "__main__":
# Set file permissions for log files if needed
try:
os.chmod(log_handler.baseFilename, 0o666)
except:
logging.warning("Could not set permissions on log file")
except (OSError, FileNotFoundError) as e:
logging.warning(f"Could not set permissions on log file: {str(e)}")
# Log application startup
logging.info("=== Spotizerr Application Starting ===")