[Sync] added Person preview

This commit is contained in:
Roman Timashev committed 2017-10-27 14:57:42 +03:00
1 parent 94e1eb5685
commit df8299a851
1 file changed
+1
+1
View File
@@ -124,6 +124,7 @@ def get_manifest(provider: Provider, path: str) -> dict:
return {
**manifest,
'picture': manifest['picture'] if 'picture' in manifest else os.path.basename(swap_ext('.jpg')(path)),
'preview': manifest['preview'] if 'preview' in manifest else os.path.basename(swap_ext('.jpg')(path)),
'folder': os.path.dirname(path),
'hidden': manifest['hidden'] if 'hidden' in manifest else False,
}