From c885f3be332521189d889a2bc591fa6b21cb94f9 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 23 May 2023 12:30:16 +0200 Subject: [PATCH] examples: Fix wrong indentation in discover-loop.py Running `examples/discover-loop.py` fails: ``` File "examples/discover-loop.py", line 59 c.disconnect() ^ IndentationError: expected an indented block after 'try' statement on line 58 ``` Signed-off-by: Benjamin Drung --- examples/discover-loop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/discover-loop.py b/examples/discover-loop.py index 09a976be..8481e821 100644 --- a/examples/discover-loop.py +++ b/examples/discover-loop.py @@ -56,7 +56,7 @@ except Exception as e: sys.exit(f'Failed to discover: {e}') try: -c.disconnect() + c.disconnect() except Exception as e: sys.exit(f'Failed to disconnect: {e}') -- 2.49.0