From f7cc7e4f119ed9542db8d5f401075e3769c02b7c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 22:27:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- socs/agents/hwp_pid/agent.py | 2 +- socs/agents/hwp_pmx/agent.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/socs/agents/hwp_pid/agent.py b/socs/agents/hwp_pid/agent.py index 33e129077..b8a871a61 100644 --- a/socs/agents/hwp_pid/agent.py +++ b/socs/agents/hwp_pid/agent.py @@ -303,7 +303,7 @@ def acq(self, session, params): data['data']['current_freq'] = current_freq data['data']['target_freq'] = target_freq data['data']['direction'] = direction - except: + except BaseException: time.sleep(1) continue diff --git a/socs/agents/hwp_pmx/agent.py b/socs/agents/hwp_pmx/agent.py index 3ed911241..76b41d9ff 100644 --- a/socs/agents/hwp_pmx/agent.py +++ b/socs/agents/hwp_pmx/agent.py @@ -303,7 +303,7 @@ def acq(self, session, params): msg, src = self.dev.check_source() data['data']['source'] = src - except: + except BaseException: time.sleep(sleep_time) continue