fix pre-commit issues in django

This commit is contained in:
Yiannis Christodoulou
2025-09-19 13:19:26 +03:00
parent 098bdce125
commit 8d31ff71e0
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ def video_chapters(request, friendly_token):
data = request_data.get("chapters")
if not data:
return JsonResponse({'success': False, 'error': 'Request must contain "chapters" array'}, status=400)
chapters = []
for _, chapter_data in enumerate(data):
start_time = chapter_data.get('startTime')