Skip to content

Commit

Permalink
Fix fileprop usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Jul 9, 2024
1 parent c10a571 commit bfcfb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmdiary/utils/medialib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit bfcfb5e

Please sign in to comment.