mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-27 16:20:05 +02:00
fix version parsing bug
This commit is contained in:
@@ -537,7 +537,7 @@ def printable_dependency_version(name: str, dependency: Dict) -> str:
|
|||||||
else:
|
else:
|
||||||
color, symbol, note, version = 'lightyellow', '-', 'disabled', '-'
|
color, symbol, note, version = 'lightyellow', '-', 'disabled', '-'
|
||||||
|
|
||||||
if ' ' in dependency["path"]:
|
if ' ' in (dependency["path"] or ''):
|
||||||
dependency["path"] = f'"{dependency["path"]}"'
|
dependency["path"] = f'"{dependency["path"]}"'
|
||||||
|
|
||||||
return ' '.join((
|
return ' '.join((
|
||||||
|
Reference in New Issue
Block a user