diff --git a/src/mmdiary/utils/medialib.py b/src/mmdiary/utils/medialib.py index 2cbb6c8..3ac4ace 100755 --- a/src/mmdiary/utils/medialib.py +++ b/src/mmdiary/utils/medialib.py @@ -120,7 +120,7 @@ def __init__(self, root): self.__root = os.path.expanduser(root) self.__supported_exts = [] - for ext, tp in g_fileprop.EXT_TO_TYPE.items(): + for ext, tp in g_fileprop.ext_to_type.items(): if tp in (fileprop.AUDIO, fileprop.VIDEO): self.__supported_exts.append(ext)