Commit b7ccba57 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Remove unnecessary dict lookup

parent 226e08a1
......@@ -53,11 +53,11 @@ def get_plugin_dirs() -> List[Path]:
def get_paths(type_: PathType) -> Generator[Path, None, None]:
for key, value in _paths.items():
for value in _paths.values():
path_type = value[2]
if type_ != path_type:
yield _paths[key]
yield value
def override_path(*args, **kwargs):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment