Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from Garulf/fix-query-search-precision-keyerror
Browse files Browse the repository at this point in the history
Fix query search precision keyerror
  • Loading branch information
Garulf authored Apr 8, 2023
2 parents 6d2086d + 68a7c0e commit 97a5b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion flox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from .launcher import Launcher
from .browser import Browser
from .settings import Settings
from .string_matcher import DEFAULT_QUERY_SEARCH_PRECISION

PLUGIN_MANIFEST = 'plugin.json'
FLOW_LAUNCHER_DIR_NAME = "FlowLauncher"
Expand Down Expand Up @@ -241,7 +242,7 @@ def app_settings(self):

@property
def query_search_precision(self):
return self.app_settings['QuerySearchPrecision']
return self.app_settings.get('QuerySearchPrecision', DEFAULT_QUERY_SEARCH_PRECISION)

@cached_property
def user_keywords(self):
Expand Down
2 changes: 1 addition & 1 deletion flox/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.4
0.19.5

0 comments on commit 97a5b82

Please sign in to comment.