1
Fork 0
mirror of https://github.com/j1g5awi/krunner-vscode.git synced 2024-11-24 15:39:31 +00:00

Actually return paths list

This commit is contained in:
Jake Howard 2023-05-07 17:38:10 +01:00 committed by GitHub
parent a51c71d209
commit bfbb4e94b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):