f
This commit is contained in:
@@ -412,7 +412,7 @@ def normalize_urls(value: Any) -> List[str]:
|
||||
|
||||
return out
|
||||
|
||||
def _normalise_string_list(values: Optional[Iterable[Any]]) -> List[str]:
|
||||
def _normalize_string_list(values: Optional[Iterable[Any]]) -> List[str]:
|
||||
if not values:
|
||||
return []
|
||||
seen: Set[str] = set()
|
||||
@@ -769,7 +769,7 @@ def sync_sidecar(payload: Dict[str, Any]) -> Dict[str, Any]:
|
||||
else:
|
||||
sidecar_path = _derive_sidecar_path(candidate)
|
||||
|
||||
tags = _normalise_string_list(payload.get("tag"))
|
||||
tags = _normalize_string_list(payload.get("tag"))
|
||||
if not tags and sidecar_path.exists():
|
||||
tags = read_tags_from_file(sidecar_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user