Merge remote-tracking branch 'origin/asset-addon' into asset-addon
This commit is contained in:
commit
4cb7400c75
1 file changed
+3
-2
@@ -79,8 +79,9 @@ def download_assets(asset_name: Union[VideoAssets, str]) -> str:
|
||||
print(f"{filename} asset download complete. \n")
|
||||
|
||||
else:
|
||||
valid_assets = ', '.join(asset.value for asset in VideoAssets)
|
||||
valid_assets = ", ".join(asset.value for asset in VideoAssets)
|
||||
raise ValueError(
|
||||
f"Invalid asset. It should be one of the following: {valid_assets}.")
|
||||
f"Invalid asset. It should be one of the following: {valid_assets}."
|
||||
)
|
||||
|
||||
return filename
|
||||
Reference in new issue
Block a user