Skip to content

Commit

Permalink
Remove spaces for dictionary short names
Browse files Browse the repository at this point in the history
media kind "Descriptive Metadata" has a space in some files
  • Loading branch information
markreidvfx committed Nov 29, 2023
1 parent 08dcc3d commit d6aaa7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aaf2/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from .utils import register_class

def short_name(name):
name = name.replace(" ", "")
for s in ('DataDef_', 'ContainerDef_'):
name = name.replace(s, "")
return name
Expand Down

0 comments on commit d6aaa7e

Please sign in to comment.