mirror of
https://github.com/j1g5awi/krunner-vscode.git
synced 2024-12-22 23:16:05 +00:00
Merge pull request #2 from RealOrangeOne/fix-paths-list
Actually return paths list
This commit is contained in:
commit
e2cbbcd1f4
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