diff --git a/pod/video/forms.py b/pod/video/forms.py index fa89bdfae9..b08199d9a5 100644 --- a/pod/video/forms.py +++ b/pod/video/forms.py @@ -1237,8 +1237,8 @@ def __init__(self, *args, **kwargs) -> None: # Add CKEditor when edit a theme self.fields["description"].widget = CKEditorWidget(config_name="complete") for key, _value in settings.LANGUAGES: - self.fields["description_%s" % key.replace("-", "_")].widget = ( - CKEditorWidget(config_name="complete") + self.fields["description_%s" % key.replace("-", "_")].widget = CKEditorWidget( + config_name="complete" ) if "channel" in self.initial.keys(): diff --git a/pod/video/views.py b/pod/video/views.py index 6679b77205..0ddc9f14c9 100644 --- a/pod/video/views.py +++ b/pod/video/views.py @@ -220,7 +220,9 @@ def get_theme_children_as_list(channel: Channel, theme_children: QuerySet) -> li return children -def _regroup_videos_by_theme(request, videos, page, full_path, channel, theme=None): # noqa: C901 +def _regroup_videos_by_theme( + request, videos, page, full_path, channel, theme=None +): # noqa: C901 """Regroup videos by theme. Args: