aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pyproject.toml2
-rwxr-xr-xtunneltop/tunneltop.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 12d10b6..be76317 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tunneltop"
-version = "0.3.4"
+version = "0.3.5"
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 05363f0..ecbbaa8 100755
--- a/tunneltop/tunneltop.py
+++ b/tunneltop/tunneltop.py
@@ -9,6 +9,7 @@ import os
import signal
import sys
import typing
+
import tomllib
@@ -505,8 +506,9 @@ class TunnelManager:
self.data_cols[name]["disabled"] = ""
await asyncio.sleep(0)
- def run_single_test(self, task_name) -> None:
+ def run_single_test(self, line_content) -> None:
"""Set the counter to 0 so the scheduler will run the test"""
+ task_name: str = line_content[: line_content.find(" ")]
if task_name in self.scheduler_table:
self.scheduler_table[task_name] = 0
else: