diff options
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | tunneltop/tunneltop.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index 170affb..10ae615 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tunneltop" -version = "0.3.2" +version = "0.3.3" description = "A top-like tunnel manager" authors = ["terminaldweller <devi@terminaldweller.com>"] license = "GPL-3.0" diff --git a/tunneltop/tunneltop.py b/tunneltop/tunneltop.py index 19e1459..7c624ba 100755 --- a/tunneltop/tunneltop.py +++ b/tunneltop/tunneltop.py @@ -506,7 +506,7 @@ class TunnelManager: self.data_cols[name]["disabled"] = "" await asyncio.sleep(0) - def run_single_test(self, task_name): + def run_single_test(self, task_name) -> None: """Set the counter to 0 so the scheduler will run the test""" if task_name in self.scheduler_table: self.scheduler_table[task_name] = 0 @@ -618,7 +618,7 @@ class TunnelManager: await self.restart_task(line_content.decode("utf-8")) elif char == ord("t"): line_content = self.stdscr.instr(sel + 2, 1) - await self.run_single_test(line_content.decode("utf-8")) + self.run_single_test(line_content.decode("utf-8")) elif char == ord("q"): await self.quit() elif char == ord("s"): |