From bfbb4e94b69e65790cd271d9081538756c8cf40f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 7 May 2023 17:38:10 +0100 Subject: [PATCH] Actually return paths list --- krunner_vscode/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/krunner_vscode/__main__.py b/krunner_vscode/__main__.py index dc6f9a9..e4de460 100755 --- a/krunner_vscode/__main__.py +++ b/krunner_vscode/__main__.py @@ -33,7 +33,7 @@ class Match(NamedTuple): # Read path_list from database def get_path_list(): - paths = {} + paths = set() for vscode_dir in VSCODE_DIRS: state_file = os.path.join( @@ -56,6 +56,7 @@ def get_path_list(): for path in [i["folderUri"][7:] for i in data["entries"] if "folderUri" in i] } ) + return paths class Runner(dbus.service.Object):