mirror of
https://github.com/j1g5awi/krunner-vscode.git
synced 2024-11-24 13:19:29 +00:00
Actually return paths list
This commit is contained in:
parent
a51c71d209
commit
bfbb4e94b6
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue