From 77c94da3a37e74d9c011b4eabd2f44a434510263 Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 4 Oct 2024 12:20:08 -0600 Subject: [PATCH] Removing channel mkdir, it will always make the channel. --- modules/videos/channel/test/test_api.py | 1 - modules/videos/schema.py | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/videos/channel/test/test_api.py b/modules/videos/channel/test/test_api.py index 9c9c4aae..f17a153a 100644 --- a/modules/videos/channel/test/test_api.py +++ b/modules/videos/channel/test/test_api.py @@ -584,7 +584,6 @@ async def test_move_channel_after_terminal_move(async_client, test_session, test vid1 = video_factory(channel_id=channel.id) test_session.commit() - # TODO this does not seem to work assert str(channel.directory) == str(test_directory / 'videos/Channel Name') assert str(vid1.video_path).startswith(str(test_directory / 'videos/Channel Name/')) diff --git a/modules/videos/schema.py b/modules/videos/schema.py index a21b1eee..a8b82a47 100644 --- a/modules/videos/schema.py +++ b/modules/videos/schema.py @@ -11,7 +11,6 @@ class ChannelPostRequest: directory: str calculate_duration: Optional[bool] = None generate_posters: Optional[bool] = None - mkdir: Optional[bool] = None url: Optional[str] = None source_id: Optional[str] = None