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 Mar 24, 2024
1 parent d69b244 commit 32ee2b5
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 32ee2b5

Please sign in to comment.