Skip to content

Commit

Permalink
Fixup. Format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 24, 2024
1 parent 0a59c36 commit 7fa6ce0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pod/video/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 3 additions & 1 deletion pod/video/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7fa6ce0

Please sign in to comment.