Skip to content

Commit

Permalink
🐛 Fix "Using selector: EpollSelector"
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Oct 25, 2023
1 parent b6c8a98 commit bd43a38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon-info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "translate-shell",
"description": "Translate text by google, bing, youdaozhiyun, haici, stardict, openai, large language model of local machine, etc at same time from CLI, GUI (GNU/Linux, Android, macOS and Windows), REPL, python, shell and vim.",
"version": "0.0.40",
"version": "0.0.41",
"author": "Wu Zhenyu <wuzhenyu@ustc.edu>",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "translate-shell",
"version": "0.0.40",
"version": "0.0.41",
"description": "Translate text by google, bing, youdaozhiyun, haici, stardict, openai, large language model of local machine, etc at same time from CLI, GUI (GNU/Linux, Android, macOS and Windows), REPL, python, shell and vim.",
"author": "Wu Zhenyu <wuzhenyu@ustc.edu>",
"license": "GPLv3",
Expand Down
5 changes: 3 additions & 2 deletions src/translate_shell/tools/repl/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
r"""Utils
=========
r"""REPL
========
Generate a `powerlevel10k <https://github.com/romkatv/powerlevel10k>`_ -like
prompt for python.
Expand Down Expand Up @@ -58,6 +58,7 @@ def interact(**kwargs: bool) -> None:
pretty.install()
traceback.install()
logging.basicConfig(
level=logging.WARNING,
format="%(message)s",
handlers=[RichHandler(rich_tracebacks=True, markup=True)],
)
Expand Down

0 comments on commit bd43a38

Please sign in to comment.