mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
fix version parsing bug
This commit is contained in:
parent
50dd8cad1a
commit
4428134073
1 changed files with 1 additions and 1 deletions
|
@ -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((
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue