aboutsummaryrefslogtreecommitdiff
path: root/examples/lock_eit.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 02:07:45 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 02:07:45 -0400
commit87bb1f16982a9679ca428d905cd7a5a757b2fb8e (patch)
tree859bf2d28fe578682855635ce5b39e6b27544be9 /examples/lock_eit.py
parent5948408f6b46397eb1a5da7146e56b9aa037da16 (diff)
downloadqolab-87bb1f16982a9679ca428d905cd7a5a757b2fb8e.tar.gz
qolab-87bb1f16982a9679ca428d905cd7a5a757b2fb8e.zip
fixed use of bare except
Diffstat (limited to 'examples/lock_eit.py')
-rw-r--r--examples/lock_eit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lock_eit.py b/examples/lock_eit.py
index eb33ee3..6b131d6 100644
--- a/examples/lock_eit.py
+++ b/examples/lock_eit.py
@@ -456,7 +456,7 @@ def update_webpage(byWhom=None, apparatus=None):
clock_upd.text = f"Last update at {timestr}"
try:
status_line.text = apparatus.state
- except:
+ except Exception:
pass
jp.run_task(wp.update())