From d6aaa7e1f28931b253d43b77477078a2b5acee6d Mon Sep 17 00:00:00 2001 From: Mark Reid Date: Tue, 28 Nov 2023 20:52:06 -0800 Subject: [PATCH] Remove spaces for dictionary short names media kind "Descriptive Metadata" has a space in some files --- src/aaf2/dictionary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aaf2/dictionary.py b/src/aaf2/dictionary.py index 2655eb5..7e28a69 100644 --- a/src/aaf2/dictionary.py +++ b/src/aaf2/dictionary.py @@ -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