diff --git a/media/icon.svg b/media/icon.svg new file mode 100644 index 0000000..a124257 --- /dev/null +++ b/media/icon.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/worker_manager_server.py b/worker_manager_server.py index b165ecc..a082aad 100755 --- a/worker_manager_server.py +++ b/worker_manager_server.py @@ -94,8 +94,8 @@ def main() -> None: try: time_wait = helpers.netstat() if time_wait != 0: - logging.debug("time_wait = {}".format(time_wait)) - with progressbar(range(int(time_wait)), redirect_stdout=True): + logging.debug("time_wait = {}".format(round(time_wait + 1))) + for i in progressbar(range(round(time_wait + 1)), redirect_stdout=True): time.sleep(0.7) except Exception as ex: logging.exception(ex)