From 14565ec8f5398ef38adfa217af73fb84441931a4 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Sat, 27 Mar 2021 14:03:49 +0100 Subject: [PATCH] Fix typo --- src/wireviz/wv_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wireviz/wv_helper.py b/src/wireviz/wv_helper.py index 6cad64d..ea4ce67 100644 --- a/src/wireviz/wv_helper.py +++ b/src/wireviz/wv_helper.py @@ -126,7 +126,7 @@ def smart_file_resolve(filename, possible_paths): return filename else: raise Exception(f'{filename} does not exist.') - else: # sarch all possible paths in decreasing order of precedence + else: # search all possible paths in decreasing order of precedence possible_paths = [Path(path).resolve() for path in possible_paths] for possible_path in possible_paths: resolved_path = (possible_path / filename).resolve()