From 492134483cf6ddf7edfffbf7c362f9a61c036109 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 26 Feb 2023 14:20:56 +0330 Subject: a fix for the disappearing tests --- pyproject.toml | 2 +- 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 "] 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""" -- cgit v1.2.3