diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-14 02:07:45 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-14 02:07:45 -0400 |
commit | 87bb1f16982a9679ca428d905cd7a5a757b2fb8e (patch) | |
tree | 859bf2d28fe578682855635ce5b39e6b27544be9 /examples | |
parent | 5948408f6b46397eb1a5da7146e56b9aa037da16 (diff) | |
download | qolab-87bb1f16982a9679ca428d905cd7a5a757b2fb8e.tar.gz qolab-87bb1f16982a9679ca428d905cd7a5a757b2fb8e.zip |
fixed use of bare except
Diffstat (limited to 'examples')
-rw-r--r-- | examples/lock_eit.py | 2 |
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()) |