From 4428134073cef63f43895cbc323a0d1db5032ff6 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 18 Aug 2020 19:08:52 -0400 Subject: [PATCH] fix version parsing bug --- archivebox/logging_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/logging_util.py b/archivebox/logging_util.py index b10fc10b..63542122 100644 --- a/archivebox/logging_util.py +++ b/archivebox/logging_util.py @@ -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((