Skip to content

Commit

Permalink
fixed issue with config that don;t have labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjoyce committed Apr 7, 2024
1 parent 7b689f3 commit e16996e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Binary file added Thumbs.db
Binary file not shown.
14 changes: 14 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Change my mind on some features

- Added Project Path to argparse and config
If the folder is not specified, generated files will be dumped in cwd
If is specified but does not exist - error, exit

- removed --dated
good for testing but not that useful.

- code does not delete any files when --overwrite is used, but will allow overwriting.

- renamed project_folder to project_path

- switch to pathlib from os.path
2 changes: 1 addition & 1 deletion melspec_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def apply_overlays(params: Params, global_frame_count: int, cropped_frame_rgba:
cropped_frame_rgba, playhead_overlay_rgba
)

if params.overlays["labels"].get("enabled", None):
if params.overlays.get("labels", {}).get("enabled", None):
# create overlay
label_overlay = create_labels_overlay(
params,
Expand Down

0 comments on commit e16996e

Please sign in to comment.