From 2637772b12dd91699cb7e7de846c2b5e6a8a94a1 Mon Sep 17 00:00:00 2001 From: SebastienCozeDev Date: Mon, 6 Nov 2023 16:29:23 +0100 Subject: [PATCH] :art: Fix flake8 --- pod/playlist/utils.py | 1 + pod/video/views.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/playlist/utils.py b/pod/playlist/utils.py index 8de6482b16..62e3e9047a 100644 --- a/pod/playlist/utils.py +++ b/pod/playlist/utils.py @@ -380,6 +380,7 @@ def check_password(form_password: str, playlist: Playlist) -> bool: hashed_password = hashlib.sha256(form_password.encode("utf-8")).hexdigest() return hashed_password == playlist.password + def playlist_can_be_displayed(request: WSGIRequest, playlist: Playlist) -> bool: """ Check if the playlist can be displayed by the current user. diff --git a/pod/video/views.py b/pod/video/views.py index 9780390bf8..e185785b4e 100644 --- a/pod/video/views.py +++ b/pod/video/views.py @@ -38,7 +38,6 @@ from pod.playlist.apps import FAVORITE_PLAYLIST_NAME from pod.playlist.models import Playlist, PlaylistContent from pod.playlist.utils import ( - get_playlists_for_additional_owner, get_video_list_for_playlist, playlist_can_be_displayed, user_can_see_playlist_video,