mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 14:44:18 +00: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:
|
||||
color, symbol, note, version = 'lightyellow', '-', 'disabled', '-'
|
||||
|
||||
if ' ' in dependency["path"]:
|
||||
if ' ' in (dependency["path"] or ''):
|
||||
dependency["path"] = f'"{dependency["path"]}"'
|
||||
|
||||
return ' '.join((
|
||||
|
|
Loading…
Reference in a new issue