diff options
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | tunneltop/tunneltop.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 10ae615..12d10b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tunneltop" -version = "0.3.3" +version = "0.3.4" 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 7c624ba..05363f0 100755 --- a/tunneltop/tunneltop.py +++ b/tunneltop/tunneltop.py @@ -1,6 +1,5 @@ #!/usr/bin/env python """A top-like program for monitoring ssh tunnels or any tunnels""" -# TODO- quit doesnt work import argparse import asyncio import copy @@ -510,6 +509,9 @@ class TunnelManager: """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 + else: + if self.data_cols[task_name]["status"] != "manual": + self.scheduler_table[task_name] = 0 async def quit(self) -> None: """Cleanly quit the applicaiton""" |