Skip to content
Open
Show file tree
Hide file tree
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
15 changes: 7 additions & 8 deletions addon/globalPlugins/command_palette/command_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
from collections import OrderedDict
from logHandler import log
from .command_interpreter import CommandInterpreter, NVDAGestureCommand


sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "libs")))
import ujson
from fuzzywuzzy import process

sys.path.pop(0)

try:
from libs import ujson
from libs.fuzzywuzzy import process
except ImportError:
sys.path.append(os.path.join(os.path.dirname(__file__), "libs"))
import ujson
from fuzzywuzzy import process

BUILTIN_COMMANDS_FILE = os.path.abspath(
os.path.join(os.path.dirname(__file__), "builtin_commands.json")
Expand Down
Binary file not shown.
Binary file not shown.