diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-26 10:50:56 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-26 10:50:56 +0000 |
commit | 492134483cf6ddf7edfffbf7c362f9a61c036109 (patch) | |
tree | 20cef155661667a22f6fc3c962c44f51c4042f51 | |
parent | fixed a bug with the t keybinding where pressing it would lead to crash (diff) | |
download | tunneltop-492134483cf6ddf7edfffbf7c362f9a61c036109.tar.gz tunneltop-492134483cf6ddf7edfffbf7c362f9a61c036109.zip |
a fix for the disappearing tests
-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""" |