1
0
Fork 0

Find Assets in Archive

Fixed finding assets in archive if flag was set or --mode was anything but CREATE
This commit is contained in:
Salvoxia 2024-10-15 21:28:49 +02:00
parent b9cdfe6c06
commit bd4437c1f0

View file

@ -332,7 +332,7 @@ def fetchAssets(isNotInAlbum: bool, findArchived: bool) -> list:
An array of asset objects
"""
assets = fetchAssetsWithOptions({'isNotInAlbum': isNotInAlbum, 'findArchived': findArchived})
assets = fetchAssetsWithOptions({'isNotInAlbum': isNotInAlbum, 'withArchived': findArchived})
return assets
def fetchAssetsWithOptions(searchOptions: dict) -> list: