From 87bb1f16982a9679ca428d905cd7a5a757b2fb8e Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Sun, 14 Jul 2024 02:07:45 -0400 Subject: fixed use of bare except --- examples/lock_eit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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()) -- cgit v1.2.3