Skip to content

Commit

Permalink
fixed integration with ToolMate AI
Browse files Browse the repository at this point in the history
  • Loading branch information
eliranwong committed Oct 26, 2024
1 parent 8c1fcf6 commit 7d04173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
setup(
name=package,
version="0.1.22",
version="0.1.23",
python_requires=">=3.8, <3.13",
description=f"UniqueBible App is a cross-platform & offline bible application, integrated with high-quality resources and unique features. Developers: Eliran Wong and Oliver Tseng",
long_description=long_description,
Expand Down
9 changes: 6 additions & 3 deletions uniquebible/util/LocalCliHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1098,9 +1098,12 @@ def getCommandCompleterSuggestions(self, textCommandSuggestion=None):
elif i in ("searchtool:::",):
suggestions[i] = self.getDummyDict(self.crossPlatform.searchToolList, ":::")
elif self.textCommandParser.parent is not None:
# self.textCommandParser.parent is None when uba is not running as a full app
if i in (f"{self.ttsCommandKeyword}:::",):
suggestions[i] = self.getDummyDict(self.ttsLanguageCodes, ":::")
try:
# self.textCommandParser.parent is None when uba is not running as a full app
if i in (f"{self.ttsCommandKeyword}:::",):
suggestions[i] = self.getDummyDict(self.ttsLanguageCodes, ":::")
except:
pass
elif i in ("exlb:::",):
suggestions[i] = self.getDummyDict(["exlbt", "exlbp", "exlbl"], ":::")
elif i in ("day:::", "dayaudio:::", "dayaudioplus:::"):
Expand Down

0 comments on commit 7d04173

Please sign in to comment.