···581581582582 # Load ALL journal entities for dropdown, principal (self) first
583583 journal_entities = load_all_journal_entities()
584584- principal = next((e for e in journal_entities.values() if e.get("is_principal")), None)
584584+ principal = next(
585585+ (e for e in journal_entities.values() if e.get("is_principal")), None
586586+ )
585587 principal_name = principal.get("name") if principal else None
586588587589 all_entity_names = []
+3-1
apps/speakers/tests/test_routes.py
···516516 app.register_blueprint(speakers_bp)
517517518518 with app.test_client() as client:
519519- response = client.get("/app/speakers/api/sentences/20240101/143022_300/mic_audio")
519519+ response = client.get(
520520+ "/app/speakers/api/sentences/20240101/143022_300/mic_audio"
521521+ )
520522 assert response.status_code == 200
521523 data = response.get_json()
522524