This commit is contained in:
Christophe-Marie Duquesne
2013-07-18 17:26:17 +02:00
parent a5014c9d73
commit 848a9c9944

View File

@@ -98,8 +98,8 @@ class PathsDb(object):
self.db['paths_list'].append(relpath)
self.db[relpath] = {
'medias': [ f for f in filenames if os.path.splitext(f)[1]
in (self.img_ext_list + self.vid_ext_list) ],
'medias': [f for f in filenames if os.path.splitext(f)[1]
in (self.img_ext_list + self.vid_ext_list)],
'subdir': dirnames
}
self.db[relpath].update(get_metadata(path))