Skip to content

Commit

Permalink
was a stupid Path -> str mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpagnon committed Sep 2, 2024
1 parent 9e8d94c commit 6556434
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Sports2D/Sports2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 6556434

Please sign in to comment.