Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions bitwarden/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ def configWidget(self):
]

def handleTriggerQuery(self, query):
results = []
if query.string.strip().lower() == "sync":
query.add(
results.append(
StandardItem(
id="sync",
text="Sync Bitwarden Vault",
Expand All @@ -85,7 +86,7 @@ def handleTriggerQuery(self, query):
)

for p in self._filter_items(query):
query.add(
results.append(
StandardItem(
id=p["id"],
text=p["path"],
Expand Down Expand Up @@ -118,6 +119,8 @@ def handleTriggerQuery(self, query):
)
)

query.add(results)

def _get_items(self):
not_first_time = self._cached_items is not None

Expand Down