mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-26 15:54:36 +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:
|
||||
color, symbol, note, version = 'lightyellow', '-', 'disabled', '-'
|
||||
|
||||
if ' ' in dependency["path"]:
|
||||
if ' ' in (dependency["path"] or ''):
|
||||
dependency["path"] = f'"{dependency["path"]}"'
|
||||
|
||||
return ' '.join((
|
||||
|
Reference in New Issue
Block a user