aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-02-26 10:50:56 +0000
committerterminaldweller <thabogre@gmail.com>2023-02-26 10:50:56 +0000
commit492134483cf6ddf7edfffbf7c362f9a61c036109 (patch)
tree20cef155661667a22f6fc3c962c44f51c4042f51
parentfixed a bug with the t keybinding where pressing it would lead to crash (diff)
downloadtunneltop-492134483cf6ddf7edfffbf7c362f9a61c036109.tar.gz
tunneltop-492134483cf6ddf7edfffbf7c362f9a61c036109.zip
a fix for the disappearing tests
-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 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"""