mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-06 23:48:54 -05:00
fix pre-commit issues in django
This commit is contained in:
parent
098bdce125
commit
8d31ff71e0
@ -604,9 +604,7 @@ def handle_video_chapters(media, chapters):
|
||||
else:
|
||||
video_chapter = models.VideoChapterData.objects.create(media=media, data=chapters)
|
||||
|
||||
return {
|
||||
'chapters': media.chapter_data,
|
||||
}
|
||||
return {'chapters': media.chapter_data}
|
||||
|
||||
|
||||
def change_media_owner(media_id, new_user):
|
||||
|
||||
@ -52,7 +52,6 @@ from .models import (
|
||||
Subtitle,
|
||||
Tag,
|
||||
TranscriptionRequest,
|
||||
VideoChapterData,
|
||||
VideoTrimRequest,
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user