From 65564343193d7c66c5f85d25161a0f12bc31fee8 Mon Sep 17 00:00:00 2001 From: davidpagnon Date: Mon, 2 Sep 2024 16:34:06 +0200 Subject: [PATCH] was a stupid Path -> str mistake --- Sports2D/Sports2D.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Sports2D/Sports2D.py b/Sports2D/Sports2D.py index 57d3883..69b70f1 100644 --- a/Sports2D/Sports2D.py +++ b/Sports2D/Sports2D.py @@ -443,19 +443,6 @@ def main(): set_nested_value(new_config, leaf_key, cli_value) # Run process with the new configuration dictionary - video_dir = Path(new_config.get('project').get('video_dir')).resolve() - if video_dir == '': video_dir = Path.cwd() - print('2video_dir', video_dir) - video_input = new_config.get('project').get('video_input') - video_files = [Path(video_input[0])] - print('4video_files str', video_files) - if video_dir: - print('5video_dir', str(video_dir / video_files[0])) - else: - print('novid_dir', str(video_files[0])) - - - Sports2D.process(new_config)