fix version parsing bug

This commit is contained in:
Nick Sweeting 2020-08-18 19:08:52 -04:00
parent 50dd8cad1a
commit 4428134073

View file

@ -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((